Parameters for Android script instrumentation
Learn more about the parameters you can use when instrumenting Android apps via script.
On this page:
Required parameters
The following table lists the available required parameters.
Parameter |
Description |
---|---|
[-i] |
Path to the input APK or AAB file to instrument. Verify that the file path does not include white spaces. |
[-o] |
The output folder. Where to place the output APK. Should be in a different place than the input APK or AAB file. |
[-t] |
A text file that contains a valid security token. At least one of the following instrumentation type parameters (path to text file or the text) must be |
[-T] |
A text file that contains a valid security token. At least one of the following instrumentation type parameters (path to text file or the text) must be |
[-u] |
Cloud URL. |
[-v] |
Current version of your Perfecto cloud. |
[-os] |
Android operating system version. |
Instrumentation parameters
The following table lists the available instrumentation parameters. At least one of the instrumentation parameters must be true
. If a parameter is not included, its value defaults to false
.
Parameter |
Description |
---|---|
[-ih] |
Enable hybrid instrumentation (webview instrumentation). |
[-is] |
Enable sensor instrumentation (camera, finger print, and activity). |
[-iscr] |
Enables instrumentation of secured screens on devices running Android 12 or later. |
Optional parameters
The following table lists the available optional parameters
Parameter |
Description |
---|---|
[-cu] |
The certificate user |
[-cp] |
The certificate password. If empty, use the certificate user. |
[-kp] |
The key store password. |
[-cf] |
The path to the Android certificate file. |
[-dc] |
Set if you don't want to save the APK or AAB file in the cloud |
[-usn] |
Set if you don't want to sign the app. The app must be signed in another process because it cannot run without any signature. |