{"repo":"SohelIslamImran/expo-in-app-updates","free":true,"listed":false,"github":"https://github.com/SohelIslamImran/expo-in-app-updates","clone":"git clone https://github.com/SohelIslamImran/expo-in-app-updates.git","description":"A lightweight and easy-to-use module for implementing native in-app updates for Android and iOS","language":"TypeScript","stars":291,"topics":["expo","expo-module","in-app-updates","react-native","expo-in-app-updates","react-native-in-app-updates"],"license":null,"category":"mobile-apps","readme_excerpt":"expo-in-app-updates A lightweight and easy-to-use module for implementing native in-app updates for Android and iOS. This module uses the Android native in-app updates library on Android and iTunes Search API on iOS. On Android, it will show a native overlay like the screenshots below but on iOS it opens the app in the App Store on a modal to update the app, since iOS does not have any in-app update solution. You may want to show an alert or custom UI on iOS. See the example at the bottom. Installation For iOS, add your AppStoreID (the id in your app store link, e.g ) in infoPlist in your app.json / app.config.js . If your app is not available in the US, the default lookup might not find it. To fix this, you can set the AppStoreCountry to a country code where your app is available (e.g pl for Poland) in infoPlist in your app.json / app.config.js . For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing. Run npx pod-install after installing the npm package for iOS. Usages Check for updates Checks if an app update is available. Return a promise that resolves updateAvailable and storeVersion for Android and iOS, flexibleAllowed , immediateAllowed , daysSinceRelease , serverPriority , and serverUpdateType for Android. - updateAvailable : If an update is available. - flexibleAllowed : If able to start a Flexible Update (Android) - immediateAllowed : If able to start an Immediate Update (Android) - storeVersion : The","default_branch":null,"files":null,"tree":[],"storefront":"/r/SohelIslamImran","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SohelIslamImran/expo-in-app-updates/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."}