Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Code Push roll backs on app restart on RN 0.57.8 #1473

Description

@2hyjun

Steps to Reproduce

  1. react-native init CodePushTest --version 0.57.8
  2. integrate CodePush via code-push-cli (not tested on appcenter-cli)
  3. publish new release, apply it and restart the application

Expected Behavior

New release will be kept on next app start.

Actual Behavior

What actually happens?

s1
before updates
s2
while updating
s3
after update (install IMMEDIATE)
s4
when app restarts, automatically rolled back to prev version that build & installed by Xcode.

Reproducible Demo

  • Download https://github.com/Microsoft/react-native-code-push/archive/master.zip and unzip. From Examples folder run node create-app.js appName react-native@0.47.1 react-native-code-push@5.0.0-beta command to generate plain CodePushified React Native app. Please see description on top of create-app.js file content if needed
  • If you can't reproduce the bug on it, provide us as much info as possible about your project

Environment

  • react-native-code-push version: ^5.5.0
  • react-native version: 0.57.8
  • iOS/Android/Windows version: ios 12.1
  • Does this reproduce on a debug build or release build? release
  • Does this reproduce on a simulator, or only on a physical device? both of all

(The more info the faster we will be able to address it!)

Metadata

Metadata

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