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 overwrite build with superior build version #1110

@tirrorex

Description

@tirrorex

Steps to Reproduce

  1. code-push release-react yourApp ios (build is 1.0)
  2. code-push promote yourApp staging production
  3. publish a testflight build with a new version number (build is 1.0.1)
  4. js bundle will be overwritten by code-push on second run

Expected Behavior

What you expected to happen?

Since i bumped the version to prevent code-push for overwritting my bundle i expect it not to do it obviously.

Actual Behavior

What actually happens?

Bundle got rewritten on second run on every device

Reproducible Demo

Environment

  • react-native-code-push version: 5.2.0-beta
  • react-native version: ^0.50.3
  • iOS/Android/Windows version: ios 11.2
  • Does this reproduce on a debug build or release build? release build
  • Does this reproduce on a simulator, or only on a physical device?

I assume it is a bug as i fail to understand how this can be expected behaviour.
code-push deployment ls youApp gives me version 1.0 so the build shouldn't be target version 1.0.1 ?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions