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.

codepush rollbacks after successful deploys when using wix/react-native-navigation  #875

@grigored

Description

@grigored

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Description

When using wix/react-native-navigation/ , code update works fine until restarting the app. Then it rollbacks to the previous version.

Reproduction

  1. clone the react-native-navigation example
    git clone https://github.com/JuneDomingo/movieapp
  2. install codepush
  3. when modifying src/app.ios.js by adding @codepush decorator, the app gets stuck, so I tried Client sdk tests #4 below
  4. import codepush and add codepush in constructor
        constructor(props) {
		super(props);
		iconsLoaded.then(() => {
			this.startApp();
			codePush.sync({
	            installMode: codePush.InstallMode.IMMEDIATE
	        });
		});
	}
  1. install on device

Additional Information

  • react-native-code-push version: 2.0.3-beta
  • react-native version: 0.42.3
  • iOS/Android/Windows version:
  • Does this reproduce on a debug build or release build? release build
  • Does this reproduce on a simulator, or only on a physical device? both

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions