mapiacompany / capacitor-codepush

Capacitor plugin for CodePush
http://appcenter.ms
Other
151 stars 65 forks source link

Getting `Cannot perform diff-update` error for subsequent updates #76

Open sahil-infocusp opened 1 year ago

sahil-infocusp commented 1 year ago

Description

I created an android app in appcenter for kotlin/java platform, and to use the codepush created another app with platform react-native (since we cannot use codepush with kotlin/java platform in appcenter). Now to do the live update release, I run the below command and it creates the codepush release successfully. appcenter codepush release -a <react-native-app> -d Staging -c .\android\app\src\main\assets\public\ -t 1.0

In my code codepush.sync() works fine for the first time and applies the update successfully, but when I do another release it fails giving the error Cannot perform diff-update image

Additional Information

maelp commented 1 year ago

This PR should fix it ;) https://github.com/mapiacompany/capacitor-codepush/pull/77

afilp commented 1 year ago

@leo6104 @maelp Can someone please merge this PR? Thanks!

Vesely commented 6 months ago

Some update? @maelp why was #77 closed?

maelp commented 6 months ago

Not sure... you can grab my fork if you want a version which works