maestro
maestro copied to clipboard
[v1.33.0] Unable to launch app for Android TV
Describe the bug Maestro is unable to launch Android applications if they don't have CATEGORY_LAUNCHER for their activity in AndroidManifest. Android TV specific applications typically have CATEGORY_LEANBACK_LAUNCHER instead and Maestro is not looking for that.
CLI throws an error like this when it fails:
Unable to launch app com.your.app: UNKNOWN
To Reproduce
- Setup an Android TV sample app.
- Start an Android TV emulator
- Run
maestro test your_test_file.yaml
- See the error at your terminal
Expected behavior App should launch on the Android TV emulator
Environment information (please complete the following information):
- Maestro v1.33.0
- Platform: Any Android TV
- Framework: React Native
- Device model and OS version: Any
- Tested on emulator and physical device
- Host Mac M1