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.
which should make it impossible that a Code Push update gets loaded?
The first run this works as expected, codePush.getUpdateMetadata() returns null.
During this run, Code Push detected, downloaded and installed an update.
During next launch, codePush.getUpdateMetadata() now gives the package that was downloaded, however it clearly isn't running. It's running the dev bundle from packager.
This had me extremely confused until I figured out that it wasn't actually running the update. It seems like getUpdateMetadata doesn't understand that an "installed" package may not be running, due to the CodePush bundle loader was not in use.
react-native-code-push version: 1.16.1-beta
react-native version: 0.36.1
iOS/Android/Windows version: iOS 10.2
Does this reproduce on a debug build or release build? deug
Does this reproduce on a simulator, or only on a physical device? Simulator (both?)