renative
renative copied to clipboard
[Regression] [android, androidwear, androidtv] `-t` do not ask to select device/simulator when needed
Describe the bug
E. g. npx rnv run -p android -t
do not ask to select target if there is active at least one device or at least one simulator.
To Reproduce
- Make sure that at least one android device is connected or at least one android simulator is active
- Go to template-starter package
- Do
npx rnv run -p android -t
-> app is installed and launched on active device or on active simulator - Do
npx rnv run -p android -d -t
-> app is installed and launched on active device - Do
npx rnv run -p android -t non_existing_sim
-> app is installed and launched on active device or on active simulator - Do
npx rnv run -p android -t non_existing_device
-> app is installed and launched on active device or on active simulator - Do
npx rnv run -p android -t 111.111.111.111
-> app is installed and launched on active device or on active simulator - Do
npx rnv run -p android -d -t non_existing_device
-> app is installed and launched on active device - Do
npx rnv run -p android -d -t 111.111.111.111
-> app is installed and launched on active device
Expected behavior
-
-p android -t
- ask from devices and sims -
-p android -d -t
- ask from devices
Desktop (please complete the following information):
- OS: macOS Ventura 13.5.2
- Node Version 18.19.0
- RNV Version 1.0.0-rc.10