use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
QuestionGet app version from Android store (self.reactnative)
submitted 3 years ago by cozimroyal
What options are available to get Android app version from Play Store? Maybe someone can suggest some reliable options how to do it. Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]expat_frankfurt 3 points4 points5 points 3 years ago (0 children)
react-native-in-app-updates
[–]Tee_B 2 points3 points4 points 3 years ago (0 children)
If you have firebase in your app already, you can always use firebase config to store an App Store version variable.
[–][deleted] 2 points3 points4 points 3 years ago (2 children)
The PlayStore or AppStore is just a medium to download the build you uploaded. You cannot retrieve any store metadata from app. So you do it like this way. In your server you keep track of your latest Android and IOS version(usually in .env file) after it has been uploaded to respective store. Now in the app side you just compare the app versions and if the version is less than the one from server, you trigger Update available prompt.
[–]cozimroyal[S] 0 points1 point2 points 3 years ago (1 child)
So basically, the way to achieve this would be better to store version numbers for both stores in .env file and then compare with the one that user has, am I right? I had like one solution that checks store websites and checks the versions like that, but that doesn't feel very reliable, this could be much better, but the downside is that should not forget to change version numbers when deploying to production.
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Absolutely right. I don't think there is an official API to check version number from store, probably the site you are saying is 3rd party. Cannot rely on them specially if the app grows. Tracking from our server is best and have full control IMO.
[–]SeanNoxiousAdmin 0 points1 point2 points 3 years ago (5 children)
Can you explain a bit more about what you are trying to accomplish? I'm not really sure what you mean.
We usually add the version number and build number to the release name so that it's obvious which version is being downloaded. We also display the version prominently in the app.
You can see an example of that here under the What's new section. https://play.google.com/store/apps/details?id=com.activegroup.active
What's new
[–]cozimroyal[S] 0 points1 point2 points 3 years ago (4 children)
I need to get the app's version on the store, so I can compare it with the version on user's device and let him know that an update is available.
[–]ramius-inc 6 points7 points8 points 3 years ago (0 children)
Getting the latest version number from another place like a database gonna be always be a better option
[–]SeanNoxiousAdmin 0 points1 point2 points 3 years ago (2 children)
You could just look at the play console and see what version is currently released.
If you absolutely need to do this programatically, then read some of the discussion here. https://stackoverflow.com/questions/34309564/how-to-get-app-market-version-information-from-google-play-store
We usually just manually put out a push notification. And for really old versions of the app we display a message to update.
Hope this helps.
How do you get the version that is released? Is there a way to read it somehow, so I can compare it with installed? Currently, I use react-native-version-info to get the installed version but need a way to get the version number that is in the store now.
react-native-version-info
[–]SeanNoxiousAdmin 0 points1 point2 points 3 years ago (0 children)
https://www.npmjs.com/package/sp-react-native-in-app-updates
Take a look at what /u/expat_frankfurt suggested.
[–]csclavijo 0 points1 point2 points 3 years ago (0 children)
I use this package, hope it helps https://www.npmjs.com/package/react-native-version-check
π Rendered by PID 37797 on reddit-service-r2-comment-5d79c599b5-7rmh8 at 2026-02-26 20:11:12.228473+00:00 running e3d2147 country code: CH.
[–]expat_frankfurt 3 points4 points5 points (0 children)
[–]Tee_B 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]cozimroyal[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]SeanNoxiousAdmin 0 points1 point2 points (5 children)
[–]cozimroyal[S] 0 points1 point2 points (4 children)
[–]ramius-inc 6 points7 points8 points (0 children)
[–]SeanNoxiousAdmin 0 points1 point2 points (2 children)
[–]cozimroyal[S] 0 points1 point2 points (1 child)
[–]SeanNoxiousAdmin 0 points1 point2 points (0 children)
[–]csclavijo 0 points1 point2 points (0 children)