How to get package name and version number from play store?
1,788
There's no official way to do it using Flutter. But you can write code in platform wise. Above way is for Android.
Official documentation click here
medium article click tutorial
Author by
user9139407
Updated on December 12, 2022Comments
-
user9139407 over 1 year
currently, I used
firebase_remote_config
to give update message to application. But I update firebase manual when always release new version. Is that anyway to check google play store app version number with package name?-
Sunny almost 5 yearsThe app store has the same version which is in your app. So you can use your app version for the comparison.
-
user9139407 almost 5 years@Sunny how to get version code from play store?
-
-
Sukhi almost 5 yearsYes dear, there's no doubt about that. I just gave you one alternative of connecting to the users who are not using the latest version of your app.
-
user9139407 almost 5 yearsNeed to update manually right? Can to use native patform code to check play store version number?
-
user9139407 almost 5 yearsCan to use native platform code to check version number?
-
Sukhi almost 5 yearsNo, there's no native code/function/API to check Play Store version number.
-
Sukhi almost 5 yearsI haven't tried it. If you think it will serve your purpose then go ahead and try. In my opinion, using Firebase cloud message is the quickest way involving no coding. Or writing a small API returning version number and build number will take a lot less time - as ultimately, all you intend is to show a pop-up if latest version is available out there.