You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
My CI server pushes every build to code-push (js) and other distr channels (for full ipa). I may have the following:
1.0.0 (build 2) + code-push for js part only (1.0.2 version in package.json)
1.0.0 (build 4) + code-push for js part only (1.0.4 version in package.json)
1.1.0 (build 5) + code-push for js part only (1.1.5 version in package.json)
etc
After installing new [full] build on the device, first run of the code-push sync() reports that there is an update. In reality, there is no need for the update, because full build already has latest js bundle.
code-push packages have automatically generated label (v1, v2 etc). If I can have extra metadata, say, version of the package, and control version matching on client side, I can avoid false positive update check of first run.
Another approach I see is to silently download update and inspect package.json in downloaded main.jsbundle (I don't know if it is possible). That may help avoiding false positive too.
Any other ideas? May be I am missing something and using code-push not the way it was designed to work?