bi_sdk_flutter 2.0.0 copy "bi_sdk_flutter: ^2.0.0" to clipboard
bi_sdk_flutter: ^2.0.0 copied to clipboard

PlatformAndroidiOS
outdated

Passwordless identities for workforces and customers


Beyond Identity

Universal Passkeys for Developers

All devices. Any protocol. Zero shared secrets.

Beyond Identity Flutter SDK #

License

Embedded SDK #

Goodbye, passwords! The Beyond Identity SDK for Flutter is a wrapper around our Native Embedded SDKs (Android and iOS), which allow you to embed the Passwordless experience into your product. Users will not need to download the Beyond Identity Authenticator. This SDK supports OIDC and OAuth2.

Installation #

Pub.Dev #

Add the Beyond Identity Embedded SDK to your dependencies

dependencies:
  bi_sdk_flutter: x.y.z

and run an implicit flutter pub get

Update Android #

Please make sure your android/build.gradle supports minSdkVersion 26 or later.

buildscript {
  ext {
    minSdkVersion = 26
  }
}

Update iOS #

Please make sure your project supports "minimum deployment target" 13.0 or later. In your ios/Podfile set:

platform :ios, '13.0'

Usage #

Check out the Developer Documentation and the SDK API Documentation for more information.

Setup #

First, before calling the Embedded functions, make sure to initialize the SDK.

import 'package:bi_sdk_flutter/embeddedsdk.dart';

EmbeddedSdk.initialize(
    String biometricAskPrompt,
    List<String>? allowedDomains, /* Optional */
    Future<Function>? logger, /* Optional */
)

Example App #

To run the Android example app

  1. Run flutter pub get from the root of the repo
  2. Run flutter run from the example directory or use Android Studio. Make sure an Android device is running.

To run the iOS example app

  1. Run flutter pub get from the root of the repo
  2. Run pod install --repo-update from example/ios directory
  3. Run flutter run from the example directory or use XCode.