tkyaji / cordova-plugin-crypt-file

This plugin to encrypt the source files.
Apache License 2.0
179 stars 116 forks source link

Cordova-plugin-crypt-file not working with cordova code-push #84

Open yadujaryal opened 5 years ago

yadujaryal commented 5 years ago

cordova crypt file working fine but not working while using code-push

{{{{{{{{{{ enzVLoisNbk:APA91bGURKRI3fRX8PJydbcNMXqrDmZ-HwoV7LIgB8fNbH0cAMhVtyl78PBJdVqSTt_H02IlsFPl7WEBdnQ1Amd_8h5e7RdvOr8-nqs1f4GZrTRIIB_Ia7PnU99CZGmRwdZZkv2um9f4 custom.js:671 Refresh to get new token: enzVLoisNbk:APA91bGURKRI3fRX8PJydbcNMXqrDmZ-HwoV7LIgB8fNbH0cAMhVtyl78PBJdVqSTt_H02IlsFPl7WEBdnQ1Amd_8h5e7RdvOr8-nqs1f4GZrTRIIB_Ia7PnU99CZGmRwdZZkv2um9f4 plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:36 [CodePush] Checking for update. plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:36 [CodePush] An update is available. {"appVersion":"1.2.4","deploymentKey":" 984ac644f47d","description":"","downloadUrl":"https://codepushupdates.azureedge.net/storagev2/G0-kdm47xga2zlKrx8ewRUyRez1Tb1e864cd-18c7-47d6-85c6-984ac644f47d","isMandatory":false,"label":"v9","packageHash":"b19aa57f158d22844f264ffe48f7a360d33698d249b2e99a14f1f848eb31aba6","packageSize":2984897,"failedInstall":false} plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:36 [CodePush] Downloading update plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:36 [CodePush] Package download success: {"deploymentKey":"P3qaz7Ieazmrg7ciYIec7LJq5zrMb1e864cd-18c7-47d6-85c6-984ac644f47d","description":"","label":"v9","appVersion":"1.2.4","isMandatory":false,"packageHash":"b19aa57f158d22844f264ffe48f7a360d33698d249b2e99a14f1f848eb31aba6","isFirstRun":false,"failedInstall":false,"localPath":"cdvfile://localhost/files/codepush/download/update.zip"} plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:36 [CodePush] Installing update plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:36 [CodePush] Applying full update plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:41 [CodePush] Preinstall failure. Could not get the package start page CodePushUtil.logError @ plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:41 plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:41 [CodePush] An error has occured while installing the package. Could not get the package start page. StackTrace: Error: An error has occured while installing the package. Could not get the package start page at preInstallFailure (file:///android_asset/www/+++/plugins/cordova-plugin-code-push/bin/www/localPackage.js:246:41) at Object.callbackFromNative (file:///android_asset/www/+++/cordova.js:290:52) at processMessage (file:///android_asset/www/+++/cordova.js:1101:17) at processMessages (file:///android_asset/www/+++/cordova.js:1124:9) CodePushUtil.logError @ plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:41 plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:41 [CodePush] An error occurred during sync. An error has occured while installing the package. Could not get the package start page. StackTrace: Error: An error has occured while installing the package. Could not get the package start page at preInstallFailure (file:///android_asset/www/+++/plugins/cordova-plugin-code-push/bin/www/localPackage.js:246:41) at Object.callbackFromNative (file:///android_asset/www/+++/cordova.js:290:52) at processMessage (file:///android_asset/www/+++/cordova.js:1101:17) at processMessages (file:///android_asset/www/+++/cordova.js:1124:9) CodePushUtil.logError @ plugins/cordova-plugin-code-push/bin/www/codePushUtil.js:41