jonasbark / flutter_in_app_update

Flutter Plugin: Enables In App Updates on Android using the official Android APIs.
Other
323 stars 79 forks source link

Won't find update on Production bundle from playstore #78

Closed dukesx closed 2 years ago

dukesx commented 2 years ago

I am using the latest version. Now when i publish the app to open testing (while i am signed as beta tester), playstore shows me that update is available but inside the production app (Release version) , when i open it , it won't show me the update available dialog.

Oddly, when i run the app on emulator (without debugging), the update service does find the update and shows me the dialog. I have tested this on variety of REAL android devices.

dukesx commented 2 years ago

Ok so the issue is playstore itself. This library is fine. You can verify by logging out and logging back into your phone's google account and then try opening the app. The cache of Playstore takes a while to update. Although inside playstore you may see update available but that does not mean that the Api urls that you fetch the version from will respond the same. I think this may be subject to CDNs behind the scenes that sometimes get the new version data or sometimes take days to fetch it depending on Google's config