Skip to content

An update is available but it is not targeting the binary version of your app. #30

Description

@rajat-deoli

Describe the bug
After successfully applying a CodePush update once, subsequent updates fail with the following error on Android:

[CodePush] An update is available but it is not targeting the binary version of your app.

Steps to Reproduce

  • Make a small JS change and release another update with the same command and promote to production.
  • Install and run the app again.
  • App shows :

[CodePush] An update is available but it is not targeting the binary version of your app.

Expected Behavior
CodePush should correctly recognize that the binary version matches the update release and apply the update.

Actual Behavior

  • First update applies correctly.
  • Second update fails with version targeting error, even though binary version hasn’t changed.

Environment

  • @code-push-next/react-native-code-push: 10.0.0
  • React Native: 0.77.2

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