rn-apk-update is a React Native library designed to provide in-app update functionality for Android applications distributed outside the Google Play Store. This library allows you to check for updates, download APK files, and install them directly within your app, making it a perfect solution for apps distributed via APK files.
rn-apk-update is a React Native library designed to provide in-app update functionality for Android applications distributed outside the Google Play Store. This library allows you to check for updates, download APK files, and install them directly within your app, making it a perfect solution for apps distributed via APK files.
Demo
Watch the demo of rn-apk-update:
Features
Check for updates from a remote server.
Download APK files with a progress bar.
Prompt users to update their app with a customizable modal.
Install APKs directly from within the app.
Installation
To install the library, run the following command:
Allow the app to request permission to install APKs from unknown sources.
Handle APK files stored on external storage (depending on your app’s target SDK version).
Usage
Below is an example of how to use rn-apk-update in a React Native app: