How can I implement a feature that forces the application to update by comparing versions? If the application has an older version, a message should be displayed to users prompting them to update the application.
Hi @Ritik_Dixit
Great question. This can be done in multiple ways.
But you need to consider the scenarios where the force update will work or not.
For example:
- First, do we need to force update configuration or reinstall the application?
- This can be understood by answering the question: Is it a non-breaking change or a breaking change?
- Does it impact existing data on mobile?
- If there is an impact, does the user need to re-login?
If you know the nature of the update and need to force an update of the app from the Play Store or the App Store, there is a task available in the task group called “Update app.” In this task, you can provide a BR rule to check the version number, and you can store the version number in your temporary object.
2 Likes
Thanks @DebugHorror for such a great explanation.
Sir could you please clarify whether the version (in update app task) to be added is an existing one or a new one?