flutter_cellrebel_sdk

Last updated:

0 purchases

flutter_cellrebel_sdk Image
flutter_cellrebel_sdk Images
Add to Cart

Description:

flutter cellrebel sdk

flutter_cellrebel_sdk #
Flutter wrapper for CellRebelSDK
Usage #
In your application entry point import CellRebelSDK module and run init method using your unique CLIENT_KEY string:
import 'package:flutter_cellrebel_sdk/flutter_cellrebel_sdk.dart';

// ...

CellRebelSDK.init(CLIENT_KEY);
copied to clipboard
Use startTracking to start measurement. On the first launch it's best to call this method after user response on location permission dialog. During the next sessions this method should be called when application finished launching:
CellRebelSDK.startTracking();
copied to clipboard
In some (rare) cases, if very high load tasks need to be performed, stopTracking can be used to abort an ongoing measurement sequence:
CellRebelSDK.stopTracking();
copied to clipboard
Call getVersion to retrieve current version of CellRebelSDK:
String sdkVersion = await CellRebelSDK.getVersion();
copied to clipboard
Use clearUserData if you need to request the removal of user data collected (based on GDPR 'right to be forgotten'):
bool success = await CellRebelSDK.clearUserData();
copied to clipboard
Calling clearUserData will deinitialize CellRebelSDK and remove all local data. init method should be called before using CellRebelSDK again.
Demo project #
https://github.com/cellrebel/flutter_cellrebel_sdk/blob/main/example/lib/main.dart

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.