Flutter
Getting Started
Last updated
Getting Started
Last updated
A wrapper for the MOVE SDK is available for Google's Flutter framework and published on pub.dev.
Add the Dolphin MOVE SDK package to your flutter app using:
or, by adding it as a dependency to your pubspec.yaml file and run:
Add the following section within the root build.gradle.
Also please check if the following values are set within the app build.gradle.
minSdkVersion 26 or higher
compileSdkVersion 34
targetSdkVersion 34
Import the package in your code:
The SDK will be automatically initialized and load its persisted state in the plugin's lifecycle through theFlutterAppDelegate
.
The MOVE SDK requires several permissions to function.
The SDK needs to be initialized at the start of the app by calling MoveSdk.init. It is recommended to put this in the Application's onCreate
method. This will load the persistent Move SDK state.
Permission setup is inherited automatically.
See for further information regarding package use.
See the included example () project in the package for reference on how to get started.
Make sure required are added in your iOS Runner.workspace and also the corresponding strings for requesting user permissions are set in the projects Info.plist.
If you are using the package refer to (see also ) to add the permissions in your iOS Podspec file.