Beyond Identity
Universal Passkeys for Developers
All devices. Any protocol. Zero shared secrets.
Beyond Identity Flutter SDK
Embedded
The Embedded SDK is a holistic SDK solution offering the entire experience embedded in your product. Users will not need to download the Beyond Identity Authenticator.
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
Usage
Check out the documentation for more information.
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'
Setup
First, before calling the Embedded functions, make sure to initialize the SDK.
import 'package:bi_sdk_flutter/embeddedsdk.dart';
Embeddedsdk.initialize(
String biometricPrompt,
bool enableLogging,
List<String>? allowedDomains, /* 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.
