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
?
To determine priority, Google Play uses an integer value between 0 and 5, with 0 being the default and 5 being the highest priority. To set the priority for an update, use the inAppUpdatePriority field under Edits.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With