1

I am trying to get In app updates using the android play core library (com.google.android.play:core:1.6.4). The documentation provided by google is as in the following link: https://developer.android.com/guide/app-bundle/in-app-updates

As described in the Start an Update section, I am trying to call the API "appUpdateManager.startUpdateFlowForResult" to start the update. In case of a flexible update, this pops up a default dialogue box for the user to choose between "Update" and "No Thanks". Is there a way for me to change this and pop up my own custom dialog?enter image description here

zombie
  • 43
  • 4

1 Answers1

0

No, there is no way to use a custom dialog for this.

Or rather, there is no way to not use the Google Play dialog. You can add a custom UI before/after in your own app, but be careful about the overall user experience - you don't want to have too many dialogs.

The Google Play dialog has to appear as part of this process, as the actual update is handled by the Play app on the device.

wojtek.kalicinski
  • 1,090
  • 7
  • 13