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.

In multi deployment builds, run-android launches the wrong version of the app #611

@chetstone

Description

@chetstone

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

  • react-native-code-push version: 1.14.6-beta
  • react-native version: 0.32.1
  • iOS/Android/Windows version: android Samsung Galaxy S5 SM-G900T - 6.0.1
  • Does this reproduce on a debug build or release build? debug build
  • Does this reproduce on a simulator, or only on a physical device? Both
  • Repro steps and/or stack trace:

I followed the instructions in the README for installing both debug and release builds simultaneously on the same device. It mostly works, but when I build the debug version with react-native run-android it installs the debug version on the device but launches the release version when the install is done. Not a serious problem but a minor annoyance to have to launch the debug version by hand. There must be a setting missing in the gradle files.

Sometimes, when the release version is already running, run-android will print the following message:

Starting: Intent { cmp=io.malamode/.MainActivity }
Warning: Activity not started, its current task has been brought to the front

(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