androidgoogle-play-consoleandroid-app-bundlein-app-update

How to set type of update "In App Update" when I update the app in google play console?


I can't find out where should I set the update type of "In App Update" feature in google play console.

Otherwise tell me how to use AppUpdateType.IMMEDIATE and AppUpdateType.FLEXIBLE?


Solution

  • Edit:

    The Play Core API now supports checking for the priority of updates. See https://developer.android.com/guide/playcore/in-app-updates#check-priority


    I think you are misunderstanding the use of this feature. For each newer version available, you can update it in the app both ways.

    "Flexible" means that the update will happen in the background and the user can continue using the app while the download happens and you get to let the user choose when to install it.

    "Immediate" means that the update happens in the foreground, blocking the user to use the app while the download and install happens (to be used for critical updates).

    You can learn more about this in this recent video of a talk at the Android Dev Summit 2019: https://youtu.be/_o_q6hatcIs