Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NativeUpdater.displayUpdateAlert default call update does not work #32

Open
elmar001 opened this issue Jan 12, 2022 · 1 comment
Open

Comments

@elmar001
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant