AddingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/aravind3566/react-native-in-app-updates/llms.txt
Use this file to discover all available pages before exploring further.
react-native-in-app-updates to your project takes less than two minutes. The package ships a Kotlin native module registered under the name InAppUpdates, and React Native 0.60+ auto-links it automatically during the next build — no manual react-native link step needed.
This library is Android-only. The package installs and imports safely in projects that also target iOS; on iOS,
checkForUpdate returns a rejected promise with the message "This library is only available on Android." rather than crashing, so you can branch on platform or simply catch the error.Install the package
Choose your package manager:Rebuild for native module linking
Because the library includes a native Kotlin module, you must rebuild your app after installation. Auto-linking handles the wiring on React Native 0.60 and above — no extra configuration is required.Google Play Core dependency
The library’sandroid/build.gradle declares the Play Core dependencies directly, so you do not need to add anything to your own Gradle files:
build.gradle needs no modification.
Verify the link
After rebuilding, confirm the native module is accessible by importing and callingcheckForUpdate. If the module is not linked correctly, you will see a descriptive error at runtime:
Success: or No update available in your logs (or the graceful iOS rejection), the module is linked correctly and you are ready to proceed.