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
cordova-plugin-code-push version:
1.13.0
List of installed plugins:
branch-cordova-sdk
cordova-plugin-code-push
cordova-plugin-file-transfer
cordova-plugin-inapppurchase
cordova-plugin-whitelist
onesignal-cordova-plugin
code-push
cordova-plugin-file
cordova-plugin-advanced-http
cordova-plugin-dialogs
cordova-plugin-device
cordova-plugin-zip
Cordova version:
android 8.1.0
iOS/Android/Windows version:
Android 10
Does this reproduce on a debug build or release build?
Both
Does this reproduce on a simulator, or only on a physical device?
Both
Description
After downloading & installing a new code push package using
codePush.sync()
, and callingcodePush.restartApplication()
, the app closes withnet::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
cordova-plugin-code-push version: 1.13.0
List of installed plugins: branch-cordova-sdk cordova-plugin-code-push cordova-plugin-file-transfer cordova-plugin-inapppurchase cordova-plugin-whitelist onesignal-cordova-plugin code-push cordova-plugin-file cordova-plugin-advanced-http cordova-plugin-dialogs cordova-plugin-device cordova-plugin-zip
Cordova version: android 8.1.0
iOS/Android/Windows version: Android 10
Does this reproduce on a debug build or release build? Both
Does this reproduce on a simulator, or only on a physical device? Both