Skip to content

Instantly share code, notes, and snippets.

@DanishAmjad12
Created April 5, 2020 16:46
Show Gist options
  • Save DanishAmjad12/d850ca3388e3894485494df583bd4e65 to your computer and use it in GitHub Desktop.
Save DanishAmjad12/d850ca3388e3894485494df583bd4e65 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.FLEXIBLE,
// 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