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

How can I catch the event if the user has closed the forced update alert? #29

Open
lucianokapluk opened this issue Dec 15, 2021 · 1 comment

Comments

@lucianokapluk
Copy link

Hi, I am using forced update, but when I press the close icon my app it reopens, and i get :
PlatformException (PlatformException(Update failed, 0, null, null))

I am running in debug mode on my physical device.

@milhomem
Copy link
Contributor

Hi @lucianokapluk today you can't. Although a callback could be passed so you could customise your action to when the user decides to ignore the update.

The force update option is intended to block the usage of the App, hence, exit() is used by design.

Feel free to send contributions on how it could fulfill your need and if you think it will be useful to others.

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

2 participants