Mobile Flutter integration
Integrating Appfigurate Library into a Mobile Flutter app
Last updated
Integrating Appfigurate Library into a Mobile Flutter app
Last updated
For simplicity, this guide will assume your Mobile Flutter app deploys to both iOS (Swift) and Android (Kotlin).
You must have the following installed:
Android Studio, IntelliJ or Visual Studio Code.
Flutter 3.10.0+ SDK
Xcode 15.2+
iOS SDKs and associated Simulators.
Android SDKs and associated Emulators.
AppfigurateSE macOS or Windows app.
Appfigurate Simulator app installed into one or more iOS Simulators (use the app for easy 1 click installation).
Appfigurate Emulator app installed into one or more Android Emulators (use the for easy 1 click installation).
Your iOS app must target iOS 13.0+ in order to include Appfigurate Flutter Plugin.
Your Android app must have a minimum API level 26 (Android 8.0 Oreo) in order to include Appfigurate Flutter Plugin.
In your app's pubspec.yaml
add the following to the dependencies
section:
Perform a pub get
to ensure the Appfigurate Flutter Plugin is successfully installed.
In your apps main.dart
file, initialize the Appfigurate Flutter Plugin:
main.dart
initialization example
In your app, add a new Dart class named Configuration.dart
. Paste the following code:
Dart Configuration example
You can now use the Configuration
class throughout your Flutter app as follows:
Now jump to .