react-native-send-intent
react-native-send-intent copied to clipboard
Install a remote APK not works on Android 7
i've tested this method on android 7 and react native 0.55 download started and it seems download finished but file not saved
the code i've used :
SendIntentAndroid.installRemoteApp('http://dl.apktops.ir/apps/2018/07/KillApps_Close_all_apps_running_Pro_v1.8.13_Apktops.ir.apk', 'KillApps_Close_all_apps_running_Pro_v1.8.13_Apktops.ir.apk').then((installWasStarted) => {
});`
Has your device enough storage to fit installed app?
yes
Hi, maybe it will help https://stackoverflow.com/questions/45726654/install-apk-programmatically-in-android-8-api-26
do you fix it? i have same this error
You should be add a new permission.
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>