native_updater icon indicating copy to clipboard operation
native_updater copied to clipboard

NativeUpdater.displayUpdateAlert default call update does not work

Open elmar001 opened this issue 3 years ago • 1 comments

Using it like this: NativeUpdater.displayUpdateAlert( context, forceUpdate: true, );

It displays the alert popup box but clicking update button does not affect anything. Tested with different iOS versions on physical devices and full production AppStore versions.

elmar001 avatar Jan 12 '22 13:01 elmar001

Found the problem. When using default constructor format - NativeUpdater.displayUpdateAlert( context, forceUpdate: true, ); URL is not accessible if there are non-Unicode characters (for example, non-English letters) as AppStore URL includes actual name of the app and numeric id not only the package id. Passing appStoreUrl explicitly solved the issue and update button works now.

elmar001 avatar Jan 12 '22 15:01 elmar001