initialize static method

Future<void> initialize(
  1. String biometricPrompt,
  2. bool enableLogging, {
  3. List<String>? allowedDomains = const <String>[],
})

Initialize and configure the Beyond Identity Embedded SDK.

allowedDomains Optional array of domains that we whitelist against for network operations. This will default to Beyond Identity's allowed domains. biometricPrompt is the prompt the user will see when asked for biometrics while extending a credential to another device. enableLogging enables logging if set to true.

Implementation

static Future<void> initialize(String biometricPrompt, bool enableLogging,
    {List<String>? allowedDomains = const <String>[]}) async {
  await _channel.invokeMethod("initialize", {
    'allowedDomains': allowedDomains,
    'biometricPrompt': biometricPrompt,
    'enableLogging': enableLogging,
  });
}