I am working in a startup and we make an update almost all day as the application has a lot to be finished and an enormous amount of bugs. Sometimes we may need all the users to update, so we have a compulsory update page where we take the user to the play store. But the play store will not show the update.
So, I started to search on StackOverflow where an answer said that the play store has a bug. It said that if we clear the cache and storage of the play store, it will show the update and it worked. I cannot tell all my users to clear the cache of the play store.
Is there any way we could tell play store when redirecting that this version code is the latest one?
Current code that I am using:
try {
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=applicationID")))
} catch (e: ActivityNotFoundException) {
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/details?id=applicationID")))
}
[Edit]
If the play store does not show an update after showing "production" in the console, We could clear the cache of the play store and the update will be shown.
[Clarification]
Sometimes the user is using the 3 times older version, still play store is not showing the update.