microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
643 stars 333 forks source link

cordova code-push not working with crypt file #544

Open yadujaryal opened 5 years ago

yadujaryal commented 5 years ago

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Description

cordova code-push working fine but after using cordova crypt-file plugin. code-push stopped working , for me both plugins are important.

Reproduction

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

Additional Information

(The more info the faster we will be able to address it!) working fine without file-crypt plugin

SamarBakr commented 5 years ago

Any updates ? I'm facing same issue #72 , Is there any alternative plugin for cordova-plugin-crypt-file that is compatible with Code-Push?

yadujaryal commented 5 years ago

No there is no any compatible plugins..

On Thu 4 Jul, 2019, 6:25 PM SamarBakr, notifications@github.com wrote:

Any updates ? I'm facing same issue #72 https://github.com/microsoft/cordova-plugin-code-push/issues/72 , Is there any alternative plugin for cordova-plugin-crypt-file that is compatible with Code-Push?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/cordova-plugin-code-push/issues/544?email_source=notifications&email_token=AMOPRZF3CCGPXDUYBHW3HXTP5XXMNA5CNFSM4H426QA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHK4WQ#issuecomment-508472922, or mute the thread https://github.com/notifications/unsubscribe-auth/AMOPRZAROCZHLTK5KSRPY6TP5XXMNANCNFSM4H426QAQ .