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

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

Open
UltraDiuve opened this issue Oct 13, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@UltraDiuve
Copy link

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:

  • we want to set a minimal compatible version somewhere - which may be lower than the current AppStores available version
  • we want to display the alert or card if and only if current version is below minimal version
  • alert / card should not be dismissible nor hold ignore nor later buttons
  • alert / card should not be shown if user is at / above minimal version

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.

@larryaasen larryaasen added the enhancement New feature or request label Nov 7, 2023
@DenisSvinkovskij
Copy link

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

@larryaasen
Copy link
Owner

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
Copy link

skast96 commented Apr 16, 2024

Did you achieve this with the newest version?

@UltraDiuve
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants