Introduction
2 min read
Package oveview
Flutter is a powerful open-source framework to develop cross-platform applications from a single codebase. The Flutter plugin allows you to integrate Footprint onboarding flow into your Flutter Android/iOS apps. The plugin utilizes a secure in-app browser to run the onboarding flow.
Support
Before proceeding with the installation, make sure your environment meets the minimum version requirements:
Flutter
| Dependency | Version |
|---|---|
| Flutter | ≥ 3.13.0 |
| Dart SDK | ≥ 3.3.0 |
Android
| Configuration | Requirement |
|---|---|
minSdkVersion | 21 (Android 5.0) |
compileSdkVersion | 34 |
| Kotlin | ≥ 1.9.22 |
iOS
| Configuration | Requirement |
|---|---|
| Minimum OS | 13.0+ |
| Swift | ≥ 5.7 |
Installation
From the terminal, run the following command:
bash
This will add the footprint_flutter dependency to your project’s pubspec.yaml as follows:
yaml1dependencies: 2 footprint_flutter: ^<LATEST_VERSION>
Alternatively, you can manually edit the pubspec.yaml file to add the dependency and run flutter pub get from the terminal to install the dependency. Use the latest version of the SDK from here.
After the installation, you need to link the InAppBrowser dependency. For iOS, make sure to run:
bash1cd ios && pod install && cd ..
<head> tag in order to support one of our dependencies FingerprintJS. Follow the instructions here to add the script.