Skip to content

Incremental updates via CodePush not working #362

Description

@saifeer

I have been trying to test the incremental updates via CodePush for our app and it seems to not work for me. From what I understand, CodePush only downloads the files that have actually changed between 2 updates. However, whenever I test this, I see the entire www directory being downloaded everytime.

I have an app that is quite big - around 300MB. I tried to first run the app, then change 1 file and push an update to codePush as v1 and then change the same file again and push another update to codePush as v2.

I found that the app detected the updates correctly on both occasions. However, on both updates, the update.zip file that got downloaded contained the entire www directory contents.
On both occasions, I used the command "appcenter codepush release-cordova -d Production" to generate the releases and on both occasions the console showed that the file change was picked up correctly:
Merging and updating files from [www, platforms/ios/platform_www] to platforms/ios/www copy www/index.html platforms/ios/www/index.html (updated file)

Can someone explain how can I get the incremental updates to work?

Metadata

Metadata

Labels

Type

No type

Fields

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