native_updater icon indicating copy to clipboard operation
native_updater copied to clipboard

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

Open lucianokapluk opened this issue 3 years ago • 1 comments

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.

lucianokapluk avatar Dec 15 '21 20:12 lucianokapluk

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.

milhomem avatar Dec 19 '21 03:12 milhomem