{"repo":"tschoffelen/react-native-check-version","free":true,"listed":false,"github":"https://github.com/tschoffelen/react-native-check-version","clone":"git clone https://github.com/tschoffelen/react-native-check-version.git","description":"🥕 Get the latest version of your app.","language":"JavaScript","stars":243,"topics":["react-native","versions","app-store","google-play"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native Check Version --- 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. Installation Basic usage Use the checkVersion method to get information: API Function usage checkVersion() accepts an optional options object, which may contain the following keys: - string platform : platform to check for, defaults to React Native's Platform.OS - string country : App Store specific country, defaults to us - string bundleId : bundle identifier to check, defaults to the value retrieved using react-native-device-info - string currentVersion : version to check against, defaults to the currently installed version Response object checkVersion() returns a Promise, which when resolved will return an object with the following properties: - string version : latest version number of the app - string releasedAt : ISO 8601 release date of that version (when available) - string updatedAt : ISO 8601 last update date of that version (when available) - string url : download URL for the latest version - string notes : release notes for the latest version (when available) - string appIcon : app icon URL (when available) - string appName : app name (when available) - string description : app description (when available) - boolean needsUpdate : whether t","default_branch":null,"files":null,"tree":[],"storefront":"/r/tschoffelen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tschoffelen/react-native-check-version/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}