react-native-check-version | Get the latest version of your app | iOS library
kandi X-RAY | react-native-check-version Summary
kandi X-RAY | react-native-check-version Summary
An easy way to check if there's an update available for the current app in the App Store or Google Play. Note that you need react-native-device-info to be installed for this library to function as expected, or you need to manually supply the bundleId and currentVersion values in the options object.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-check-version
react-native-check-version Key Features
react-native-check-version Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-check-version
QUESTION
I have installed react-native-version-check by yarn into my project when I use some functions the app crash sending me this message: WARN [TypeError: Network request failed]
this only happens when I'm using these functions only: VersionCheck.getLatestVersion() VersionCheck.needUpdate()
The same thing happens using react-native-check-version package function
...ANSWER
Answered 2022-Jan-13 at 17:02There has been some unresolved issues regarding this package and especially those functions that you mentioned. I had faced the same issue previously, my suggestion would be to go with a backend driven version check. You can maintain a table to store the latest version, force update flag, etc. Also since these 2 functions are promise, you can check what they are returning.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-check-version
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page