kauemurakami / app_version_update

[Flutter package] An easy and quick way to check if the local app is updated with the same version in their respective stores (Play Store / Apple Store ).

Home Page:https://pub.dev/packages/app_version_update

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update dialog not closed when "UPDATE" is pressed

jusuf-el opened this issue · comments

When I press "UPDATE" from the update dialog, the app is opened in the Play Store app (which is fine and works as expected), but when I return to the app (without updating the app), the dialog is still open. Then I need to press on "UPDATE LATER" or somewhere outside the app in order to close the dialog.

I don't see any possibility to add a callback for closing the dialog...

Is there any possibility of doing this?

The workaround is to use a custom dialog and "re-use" the code from the package for opening the storeUrl, and then adding the statement for closing the dialog.

But, still it would be fine and very time-consuming if you add a callback parameter for the actions. Thank you!

#20

See this comment, I really need an update to the package to provide some feedback, I will do it soon.