I am implementing In-app Update API. Both Flexible and Immediate update flow works fine based on the update priority.
But for some reason AppUpdateInfo returns updatePriority of previouls release.
For Example,
Build number and its priority set through Google Play Developer API.
Version code Priority
1. 109 (Installed) 0
2. 110 3
3. 111 5
4. 112 2
When I check for the update inside the app update priority is of the previous release.
Update check Priority
1. 110 0
2. 111 3
3. 112 5
I don't know what I am doing wrong here because everything is working fine only the update priority that I am getting from In-app Update API has an issue.