AndroidAppConfigurator.KeyStore(String, String, String, String) AndroidAppConfigurator.KeyStore(String, String, String, String) AndroidAppConfigurator.KeyStore(String, String, String, String) Method

Definition

Configures the keystore that the provided apk file is signed with. A keystore is not required, but will ensure that the apk file is pristine and unchanged. If a keystore is provided, it will be used to sign the auxiliary apks installed along with the app on the device. If a keystore is not provided, Xamarin.UITest will generate a keystore and resign the apk.

public Xamarin.UITest.Configuration.AndroidAppConfigurator KeyStore (string path, string storePassword = "android", string keyPassword = "android", string keyAlias = "androiddebugkey");
member this.KeyStore : string * string * string * string -> Xamarin.UITest.Configuration.AndroidAppConfigurator
Public Function KeyStore (path As String, Optional storePassword As String = "android", Optional keyPassword As String = "android", Optional keyAlias As String = "androiddebugkey") As AndroidAppConfigurator

Parameters

path
String String String

Path to the keystore file.

storePassword
String String String

Password to the keystore. Corresponds to the -storepass argument in jarsigner.

keyPassword
String String String

Password to the matching private key in the keystore. Corresponds to the -keypass argument in jarsigner.

keyAlias
String String String

Alias to the key in the keystore. Corresponds to the alias argument in jarsigner.

Returns

Applies to