Skip to content

Instantly share code, notes, and snippets.

@savvisingh
Created September 18, 2019 17:57
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/45e1d5733375f8012fc67695cd2fd638 to your computer and use it in GitHub Desktop.
Save savvisingh/45e1d5733375f8012fc67695cd2fd638 to your computer and use it in GitHub Desktop.
appUpdateManager.startUpdateFlowForResult(
// Pass the intent that is returned by 'getAppUpdateInfo()'.
appUpdateInfo,
// Or 'AppUpdateType.FLEXIBLE' for flexible updates.
AppUpdateType.IMMEDIATE,
// The current activity making the update request.
this,
// Include a request code to later monitor this update request.
MY_REQUEST_CODE
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment