Sentiance Flutter SDK - SentianceSmartGeofences
Demo Application
https://github.com/sentiance/sample-apps-flutter
Getting started
To get started with the Sentiance Flutter Plugin, please check the getting started guide.
Native SDK Version
This plugin is built with following native Sentiance SDK versions
iOS: SENTSDK (6.32.0)
Android: com.sentiance.sdk (6.32.0)
Android: com.sentiance.sdk-smart_geofences (6.32.0)
iOS note: The plugin supports both Swift Package Manager and CocoaPods; apps with Swift Package Manager disabled build through CocoaPods. After switching an existing app between the two, run
flutter cleanbefore building.Using this plugin through Swift Package Manager requires Flutter 3.41 or later. On older versions, it builds through CocoaPods, which is their default. If you turned Swift Package Manager on, turn it off:
- for all projects:
flutter config --no-enable-swift-package-manager- for this app only, under
flutter:inpubspec.yaml:config: enable-swift-package-manager: false(Flutter 3.35 and later) ordisable-swift-package-manager: true(earlier versions)Then run
flutter cleanand rebuild. Flutter 3.22 cannot build an app already migrated to Swift Package Manager; remove the integration first.
Supported APIs
Here is a list of APIs that the Sentiance Flutter Plugin currently supports:
refreshGeofences()getDetectionMode()initializeListener()
Please note that future releases will contain more APIs.
For the full changelog and more, visit docs.sentiance.com