bi_sdk_flutter 2.0.0
bi_sdk_flutter: ^2.0.0 copied to clipboard
Passwordless identities for workforces and customers
Beyond Identity
Universal Passkeys for Developers
All devices. Any protocol. Zero shared secrets.
Beyond Identity Flutter SDK #
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
- Run
flutter pub getfrom the root of the repo - Run
flutter runfrom the example directory or use Android Studio. Make sure an Android device is running.
To run the iOS example app
- Run
flutter pub getfrom the root of the repo - Run
pod install --repo-updatefromexample/iosdirectory - Run
flutter runfrom the example directory or use XCode.
