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.
Repository navigation
This repository was archived by the owner on May 20, 2025. It is now read-only.
I can see from the trace the app seems to be in a state where it thinks there is a pending update, but there isn't actually one on disk. From what I see, the only way it can get into that state is if the app installs two updates the installation transaction fails, e.g. app get's killed somewhere on this line, which means the current update is removed but the info dictionary still points to it. It seems like a really unlikely case to ever happen though.
Anyhow, I will send out a code change later that prevents crashes during rollbacks.
The app seems to be in a state where it thinks there is a pending update,
but there isn't actually one on disk. From what I see, the only way it can
get into that state is if the app installs two updates the installation
transaction fails, e.g. app get's killed somewhere on this line https://github.com/Microsoft/react-native-code-push/blob/master/ios/CodePush/CodePushPackage.m#L463,
which means the current update is removed but the info dictionary still
points to it. It seems like a really unlikely case to ever happen though.
Anyhow, I will send out a PR that prevents crashes during rollbacks.
Activity
geof90 commentedon Aug 28, 2016
I can see from the trace the app seems to be in a state where it thinks there is a pending update, but there isn't actually one on disk. From what I see, the only way it can get into that state is if the app installs two updates the installation transaction fails, e.g. app get's killed somewhere on this line, which means the current update is removed but the info dictionary still points to it. It seems like a really unlikely case to ever happen though.
Anyhow, I will send out a code change later that prevents crashes during rollbacks.
avishayil commentedon Aug 28, 2016
Thanks!
On Aug 28, 2016 4:09 AM, "Geoffrey Goh" notifications@github.com wrote: