native_updater
native_updater copied to clipboard
NativeUpdater.displayUpdateAlert default call update does not work
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.
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.