AndroidConfig class

A class which holds Android config.

These data are used to check if device is trusted.

On initialization, these data are passed to native code which then initializes Talsec.

Constructors

AndroidConfig({required String? expectedPackageName, required List<String>? expectedSigningCertificateHashes, List<String>? supportedAlternativeStores = const <String>[]})
Constructor checks whether expectedPackageName and expectedSigningCertificateHashes are provided. Both arguments are MANDATORY.

Properties

expectedPackageName String?
Package name of the application.
final
expectedSigningCertificateHashes List<String>?
List of expected signing hashes.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedAlternativeStores List<String>?
List of supported sources where application can be installed from.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited