0

In Flutter how can I manage versions and send updates or patches for android application and force users to update. I also want to stop users how haven't updated. My approach would be checking the version at very first page of the application and display an alert? Is that the way?

2

1 Answer 1

4

Flutter (more precisely Dart) is not different from a java application on that point, and there are multiple solutions we can imagine. Here are a few of them :

  • You can call the play store and parse the result to get the current version of you application and display a message to the user preventing him to use his version of the app (subject to changes and not easy to follow)
  • You can also use your own server and enable your app to read the current version from there.
  • If your application does some calls to an API that you manage, you can include the app version in each call and return a special error code to the application if the version is outdated
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.