Skip to content

Instantly share code, notes, and snippets.

@savvisingh
Created September 19, 2019 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save savvisingh/eef701e97d8ea77196e31ac6b570106b to your computer and use it in GitHub Desktop.
Save savvisingh/eef701e97d8ea77196e31ac6b570106b to your computer and use it in GitHub Desktop.
appUpdateManager
.appUpdateInfo
.addOnSuccessListener { appUpdateInfo ->
...
// If the update is downloaded but not installed,
// notify the user to complete the update.
if (appUpdateInfo.installStatus() == InstallStatus.DOWNLOADED) {
popupSnackbarForCompleteUpdate()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment