mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-25 10:58:42 +00:00
support custom launch arguments (#84)
* add amStartArgs launch property to allow launch command arguments to be customised. * update readme launch options docs
This commit is contained in:
11
package.json
11
package.json
@@ -54,6 +54,17 @@
|
||||
"adbPort"
|
||||
],
|
||||
"properties": {
|
||||
"amStartArgs": {
|
||||
"type": "array",
|
||||
"description": "Custom arguments to pass to the Android application manager to start the app. Run `adb shell am` to show valid arguments. Note that `-D` is required to enable debugging.\r\nBe careful using this option - you must specify the correct parameters or the app will not start.\r\n\r\nThis option is incompatible with the `launchActivity` option.",
|
||||
"default": [
|
||||
"-D",
|
||||
"--activity-brought-to-front",
|
||||
"-a android.intent.action.MAIN",
|
||||
"-c android.intent.category.LAUNCHER",
|
||||
"-n package.name/launch.activity"
|
||||
]
|
||||
},
|
||||
"appSrcRoot": {
|
||||
"type": "string",
|
||||
"description": "Location of the App source files. This value must point to the root of your App source tree (containing AndroidManifest.xml)",
|
||||
|
||||
Reference in New Issue
Block a user