Question
How to set update priority for a new android release
I have been trying to implement the Google’s new in-app updates and I am stuck at a point. The issue is first, how can the developer specify the type of update i.e. flexible or immediate while releasing a new update of the app. Secondly, if it's for the developer to decide which type of update he has to implement for a specific update then what is the use of – appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.IMMEDIATE) or appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.Flexible)
it is given in the documentation that 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 inAppUpdatePriority field under Edits.tracks.releases in the Google Play Developer API. how to set it?