vaenow / cordova-plugin-app-update

App updater for Cordova/PhoneGap
MIT License
298 stars 146 forks source link

New update doesn't install after download in android 8 #107

Closed nasserghiasi closed 5 years ago

nasserghiasi commented 6 years ago

In Android 8 all apps need permission to install apk file, the plugin doesn't compatible with android 8 new feature.

carlo318 commented 6 years ago

Sometimes I have the same behaviour with Android 6 on a tablet. The download completes but the App does not autorestart. The bad thing is that it is not always the same: sometimes it goes fine and restarts and updates, some other times it hangs on that popup. So I think it is not only an Android 8 issue.

ZeroQool007 commented 6 years ago

I am using Android 8.1 and I've got the same issue. I need a fix, please. thanks

fxp528 commented 6 years ago

You can add <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>. It works. See also https://github.com/vaenow/cordova-plugin-app-update/pull/118#issue-224686125

vaenow commented 5 years ago

Fixed #118 Thank you 🙂