Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Description
After upgrading to cordova 10, we get the following error on code-push:
Could not get binary hash.Error: Could not get binary hash.
CodePushUtil.logError @ codePushUtil.js:41
Anyway, the codePush update is installed correctly, but then it asks to restart the app in order to make it effective, but on the next restart the following error message appears:
at this point it performes the rollback and the app resumes working in the previous version.
Reproduction
Rilascio update attraverso code push CLI in staging, download aggiornamento e riavvio app
iOS/Android/Windows version: Android Version 8.1.0
Does this reproduce on a debug build or release build? Debug
Does this reproduce on a simulator, or only on a physical device? Physical device
I was reading in a previous issue-post that downgrading to cordova 9 solves the problem and this seems to be true, given that if the app is compiled with cordova 9 it works perfectly. The problem is that cordova 10 is an absolute requirement for generating the .aab file for the PlayStore. So my question is, if the plugin can be upgraded in order to make it compatible with cordova 10 anywhen soon? Or maybe there are some other workarounds in order to fix the described issue? Thanks to all for your answers and suggestions.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Description
After upgrading to cordova 10, we get the following error on code-push:
Could not get binary hash.Error: Could not get binary hash. CodePushUtil.logError @ codePushUtil.js:41
Anyway, the codePush update is installed correctly, but then it asks to restart the app in order to make it effective, but on the next restart the following error message appears:
at this point it performes the rollback and the app resumes working in the previous version.
Reproduction
Rilascio update attraverso code push CLI in staging, download aggiornamento e riavvio app
Additional Information
cordova-plugin-code-push version: 2.0.0
List of installed plugins: code-push 3.0.1 "CodePushAcquisition" cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport" cordova-plugin-advanced-http 3.1.0 "Advanced HTTP plugin" cordova-plugin-android-permissions 1.1.2 "Permissions" cordova-plugin-chooser 1.2.5 "Chooser" cordova-plugin-code-push 2.0.0 "CodePush" cordova-plugin-console 1.0.7 "Console" cordova-plugin-contacts 3.0.1 "Contacts" cordova-plugin-device 1.1.4 "Device" cordova-plugin-dialogs 1.3.3 "Notification" cordova-plugin-file-transfer 1.7.1 "File Transfer" cordova-plugin-file 6.0.2 "File" cordova-plugin-globalization 1.0.5 "Globalization" cordova-plugin-inappbrowser 1.5.0 "InAppBrowser" cordova-plugin-splashscreen 4.0.1 "Splashscreen" cordova-plugin-statusbar 2.2.1 "StatusBar" cordova-plugin-vibration 2.1.5 "Vibration" cordova-plugin-whitelist 1.3.1 "Whitelist" cordova-plugin-zip 3.1.0 "cordova-plugin-zip" cordova-sms-plugin 1.0.0 "Cordova SMS Plugin" cordova-support-google-services 1.4.1 "cordova-support-google-services" havesource-cordova-plugin-push 1.0.0 "Cordova Push Plugin"
Cordova version: 10.0.0
iOS/Android/Windows version: Android Version 8.1.0
Does this reproduce on a debug build or release build? Debug
Does this reproduce on a simulator, or only on a physical device? Physical device
I was reading in a previous issue-post that downgrading to cordova 9 solves the problem and this seems to be true, given that if the app is compiled with cordova 9 it works perfectly. The problem is that cordova 10 is an absolute requirement for generating the .aab file for the PlayStore. So my question is, if the plugin can be upgraded in order to make it compatible with cordova 10 anywhen soon? Or maybe there are some other workarounds in order to fix the described issue? Thanks to all for your answers and suggestions.