Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

[ERROR] could not get binary hash.Error: Could not get binary hash. #678

@akshaykatale99

Description

@akshaykatale99

Getting could not get binary hash.Error: Could not get binary hash. Update download is successful but not applying.

I have tested this on both debug mode, release mode. even tested with releasing app on play store. still not happening

WhatsApp Image 2021-06-20 at 6 19 47 PM

WhatsApp Image 2021-06-20 at 10 59 20 PM

UPDATE - If I check the downloadUrl from the console and download that installable file. it contains 1 file hotcodepush.json and www dir. in www dir there are only three files instead of all the www contens from bundle. is that the issue.

I am following below steps -

  1. ionic cordova prepare android --prod / ionic cordova run android --device --prod
  2. appcenter codepush release-cordova -a owner/appname -d Production

Additional Information

  • cordova-plugin-code-push version: ^2.0.0
  • List of installed plugins:

"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-network-information": {},
"cordova-plugin-nativestorage": {},
"cordova-plugin-file": {},
"cordova-plugin-filechooser": {},
"cordova-plugin-native-spinner": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-googleplus": {
"WEB_APPLICATION_CLIENT_ID": "clientid",
"PLAY_SERVICES_VERSION": "11.8.0+"
},
"cordova-plugin-x-socialsharing": {
"ANDROID_SUPPORT_V4_VERSION": "24.1.1+"
},
"ionic-plugin-deeplinks": {
"URL_SCHEME": "learntezapp",
"DEEPLINK_SCHEME": "https",
"DEEPLINK_HOST": "learntez.com",
"ANDROID_PATH_PREFIX": "/",
"ANDROID_2_PATH_PREFIX": "/",
"ANDROID_3_PATH_PREFIX": "/",
"ANDROID_4_PATH_PREFIX": "/",
"ANDROID_5_PATH_PREFIX": "/",
"DEEPLINK_2_SCHEME": " ",
"DEEPLINK_2_HOST": " ",
"DEEPLINK_3_SCHEME": " ",
"DEEPLINK_3_HOST": " ",
"DEEPLINK_4_SCHEME": " ",
"DEEPLINK_4_HOST": " ",
"DEEPLINK_5_SCHEME": " ",
"DEEPLINK_5_HOST": " "
},
"cordova-plugin-app-version": {},
"cordova-plugin-local-notification": {},
"cordova-plugin-datepicker": {},
"cordova-plugin-android-permissions": {},
"cordova-clipboard": {},
"phonegap-plugin-push": {
"ANDROID_SUPPORT_V13_VERSION": "27.+",
"FCM_VERSION": "17.0.+"
},
"cordova-support-google-services": {},
"cordova-plugin-insomnia": {},
"cordova-plugin-screen-orientation": {},
"cordova-plugin-streaming-media": {},
"cordova-rtsp-rtmp-stream": {},
"integrator-cordova-plugin-downloader": {},
"cordova-plugin-preview-any-file": {},
"cordova-plugin-background-mode": {},
"cordova-plugin-camera": {
"CAMERA_USAGE_DESCRIPTION": "Take a pic",
"PHOTOLIBRARY_USAGE_DESCRIPTION": "Choose",
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-file-transfer": {},
"cordova-plugin-androidx": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-lt-drm": {},
"cordova-plugin-youtube-video-player": {},
"cordova-plugin-fullscreen": {},
"cordova-sqlite-storage": {},
"cordova.plugin.zoom": {},
"cordova-plugin-appcenter-analytics": {},
"cordova-plugin-appcenter-crashes": {},
"cordova-plugin-code-push": {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions