larryaasen / upgrader

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

Question / Feature request: show card or alert IF AND ONLY IF current version is below a minimal version #338

Open UltraDiuve opened 11 months ago

UltraDiuve commented 11 months ago

We would like to implement Upgrader on a flutter project for iOS / Android (/ Web), with our backend hosted on AWS. We sometimes implement breaking changes in the backend and would like to force update when an installed version is "too old" for our backend, without spamming users having compatible version with cards or alerts (because we deliver weekly on stores and do not want to be a burden to end users).

Our requirements are as follow:

From reading the docs, it seems that this is not natively covered by Upgrader, as from what I understood the alert / card is always shown as long as the user is behind the current version.

What would be the correct way to implement our requirement? AppCast seems to be a good candidate but it is unclear how to use it to achieve the behaviour described above.

DenisSvinkovskij commented 5 months ago

Same requirements needs our app! Hope this enhancement will be soon added. :)

larryaasen commented 5 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.

skast96 commented 5 months ago

Did you achieve this with the newest version?

UltraDiuve commented 5 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.

Hi Larry, Thanks for the heads up regarding the new customization options. We implemented a simple custom solution without a third party integration. It is unlikely that we will move away from it in a near future, but will of course let you know whether the new options work for us, should we implement upgrader. Have a nice day!