mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-25 19:10:12 +00:00
Allow customised install arguments (#75)
* add pmInstallArgs launch config property * add missing launchActivity description correct default trace value * add launchActivity to the README * add comment describing why we look for IllegalArgumentException
This commit is contained in:
12
package.json
12
package.json
@@ -79,6 +79,11 @@
|
||||
"description": "Number of entries to display in call stack views (for locations outside of the project source). 0 shows the entire call stack. Default: 1",
|
||||
"default": 1
|
||||
},
|
||||
"launchActivity": {
|
||||
"type": "string",
|
||||
"description": "Manually specify the activity to run when the app is started.",
|
||||
"default": ""
|
||||
},
|
||||
"logcatPort": {
|
||||
"type": "integer",
|
||||
"description": "Port number to use for the internal logcat websocket link. Changes to this value only apply when the extension is restarted. Default: 7038",
|
||||
@@ -89,6 +94,11 @@
|
||||
"description": "Overrides the default location of AndroidManifest.xml",
|
||||
"default": "${workspaceRoot}/app/src/main/AndroidManifest.xml"
|
||||
},
|
||||
"pmInstallArgs": {
|
||||
"type": "array",
|
||||
"description":"APK install arguments passed to the Android package manager. Run 'adb shell pm' to show valid arguments. Default: [\"-r\"]",
|
||||
"default": ["-r"]
|
||||
},
|
||||
"staleBuild": {
|
||||
"type": "string",
|
||||
"description": "Launch behaviour if source files have been saved after the APK was built. One of: [\"ignore\" \"warn\" \"stop\"]. Default: \"warn\"",
|
||||
@@ -102,7 +112,7 @@
|
||||
"trace": {
|
||||
"type": "boolean",
|
||||
"description": "Set to true to output debugging logs for diagnostics",
|
||||
"default": "false"
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user