Customization
There are a few ways to customize the user experience based on your choice: UpdateManager or AutoUpdateManager.
AutoUpdateManager
There are only one option open for customization here. You can select between FLEXIBLE & IMMEDIATE update.
Flexible Update:
A user experience that provides background download and installation with graceful state monitoring. This UX is appropriate when it’s acceptable for the user to use the app while downloading the update. For example, you want to urge users to try a new feature that’s not critical to the core functionality of your app.

Immediate Update:
A full screen user experience that requires the user to update and restart the app in order to continue using the app. This UX is best for cases where an update is critical for continued use of the app. After a user accepts an immediate update, Google Play handles the update installation and app restart.

UpdateManager
If you prefer to customize that experience this is the place for you! You have quiet more options to tweak based on your needs here.
First of all and most important thing, do not forget to call CheckForAnUpdate() function after the initialization! Let's create a basic class with customization:
The next step is to subscribe for events which we want to customize:
You can monitor to download progress by subscribing for an event:
Once the download complete an event will be triggered:
If you want to receive information about the update state, you can subscribe to another event:
Here are the available install statuses:
If the update fails, you can receive an additional information about the issue by subscribing for...yes, you guessed right, another event!
And I guess that's all! : )
Last updated
Was this helpful?