Options
You have 3 options to force your user to update:
- Direct update
- Force update
- Modal update
Direct update
You can force an update to happen at every app start by setting directUpdate
to true
:
And then in your app, you should hide the splash until receive the event appReady
:
Force update
Add a listener to even updateAvailable
and then show alert to tell the user the app will update:
Modal update
You can also let the user decide by showing a dialog to ask the user to update: