larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
531 stars 262 forks source link

onLater, onIgnore, onUpdate - example of how to implement? #282

Open remsysinc opened 1 year ago

remsysinc commented 1 year ago

I'm trying to find an example showing how to implement these parameters. I'd like to redirect to another page upon "onLater" for example.

Also, is there an example of how to just make the check to the proper app store which then returns the info and can be handled in code without using the alert pop-up or card?

larryaasen commented 1 year ago

There is code in upgrader_test.dart that may help.

remsysinc commented 1 year ago

I see it, thank you! It seems those functions (onLater, onUpdate, onIgnore) all require a boolean to be returned. I'm wanting to redirect to another screen.

larryaasen commented 3 months ago

Look at the latest version of this package with a latest customization options. I think it now meets your needs. If not, please open a new issue with your details.