Sentiance SDK Flutter

Flutter plugin for generating Mobile Health Status.


This is package is only for Android.

Getting Started

This flutter plugin is a wrapper around our Android SDKs.

The following documentation is only focused on the wrapper around our native Android SDKs. To know more about our SDKs and how to link them within the projects, refer to the following documentation:




Fork the repository from url

Go to android/src/res/AndroidManifest.xml and your Geo Location API KEY

        android:value= "GOOGLE_API_KEY"/>

This plugin is available on Pub:

Add this to dependencies in your app's pubspec.yaml

      git: <Package url>
      branch: master

Note for Android: Make sure that the minimum API level for your app is 19 or higher.

Run flutter packages get in the root directory of your app.


Sample code to integrate can be found in example/lib/main.dart.

Import package

import 'package:sentiance_flutter/sentiance_flutter.dart';

Create Sentiance instance

await SentianceFlutter.initialiseSentiance();          

Properties names

The Properties names which are used in the initialiseSentiance Method.

Properties Name Description
token A unique identifier for your sentiance account.
sentianceSecret A secret key generated by Sentiance unique to your account.
appId Unique identifier for each device.
crashDetectionUrl Stores information regarding crash.
mobileHealthUrl Stores information regarding Mobile Health.

Get the Mobile Health Data

await SentianceFlutter.getMobileHealthData

Stop Sentiance

await SentianceFlutter.stopSentianceSDK;