You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d6aee7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(android): pass apps launch --arg key=value as string intent extras
Each --arg on Android must be key=value and becomes am start --es key
value, which the app reads from its launch intent. An argument without
'=' is an error. --env stays iOS-only.
appsLaunchCmd.Flags().StringVar(&activity, "activity", "", "Android activity to launch (e.g. .DebugActivity or com.example/.DebugActivity)")
193
-
appsLaunchCmd.Flags().StringArrayVar(&launchArgs, "arg", nil, "Argument to pass to the app, repeat for more (iOS only)")
193
+
appsLaunchCmd.Flags().StringArrayVar(&launchArgs, "arg", nil, "Argument to pass to the app, repeat for more. On Android it must be key=value and is passed as a string intent extra")
194
194
appsLaunchCmd.Flags().StringArrayVar(&launchEnv, "env", nil, "Environment variable KEY=VALUE to set for the app, repeat for more (iOS only)")
195
195
appsTerminateCmd.Flags().StringVar(&deviceId, "device", "", "ID of the device to terminate app on")
196
196
appsListCmd.Flags().StringVar(&deviceId, "device", "", "ID of the device to list apps from")
0 commit comments