microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
644 stars 334 forks source link

net::ERR_ACCESS_DENIED when restarting app on Android #644

Closed kyleinaction closed 4 years ago

kyleinaction commented 4 years ago

Description

After downloading & installing a new code push package using codePush.sync(), and calling codePush.restartApplication(), the app closes with net::ERR_ACCESS_DENIED. Restarting the application results in the install being skipped due to rollback.

READ_EXTERNAL_STORAGE is set & permission has been granted.

Edit 8/27/2020: problem persists if codePush.restartApplication() is not called and the app is manually force-closed and re-launched.

Additional Information

kyleinaction commented 4 years ago

Closing; can not reproduce with a clean Cordova app.