react native notify user for new version of app

Solutions on MaxInterview for react native notify user for new version of app by the best coders in the world

showing results for - "react native notify user for new version of app"
Alessio
19 Jul 2017
1You can check for the App Store / Play Store version of your app by using this library react-native-appstore-version-checker.
2
3
4then create your logic base on the app version and then redirect to open app
5store or update app
Diana
03 Sep 2017
11
2
3There is no configuration or automatic thing, but there are several ways that you can achieve this matter. one is using some sort of file in some server and put the version number in it like:
4
5{
6  version: "2.4"
7}
8and the address would be like https://example.com/version.json
9
10and everytime the user open the application ( or whenever you like ) you check that file and compare it to the local version. if the server version is newer then you ask the user to update the application.
11
12another way is use Push notification services like FCM. whenever the app have update you send all users the notification about the new update.
13
14the second way advantage is you can inform users about the update even they don't open the app, altough they have to install the app in order the receive the notification.
15
16the next approach is just publish your app in play store. whenever you publish the new update the play store will inform user about the new update and user can easily update their app.
17
18