clevertap_flutter 0.0.5

Flutter Android iOS

Clevertap Flutter plugin to send Clevertap events to Android/iOS

clevertap_flutter #

Clevertap plugin (Android/iOS) for Flutter

Note: This plugin is still under development, and some APIs might not be available yet.

Setup #

Android Project setup: #

Add your CleverTap Account ID and CleverTap Token in AndroidManifest.xml of your Android project

iOS Project setup: #

Add your CleverTap Account ID and CleverTap Token in Info.plist of your iOS project

Usage #

import 'package:clevertap_flutter/clevertap_flutter.dart';

PushProfile:

ClevertapFlutter.pushProfile('TestName', 'test@gmail.com');

On User Login:

 Map<String, dynamic> loginMap = {
    "loginParam1": "Param1",
  };

ClevertapFlutter.onUserLogin(loginMap);

Push Event With No Params

ClevertapFlutter.pushEvent('No Params Test Event');

Push Event With Params

Map<String, dynamic> paramsMap = {
    "version": 2.0,
    "name": "TestName",
  };
ClevertapFlutter.pushEvent('No Params Test Event', paramsMap);

Getting Started #

See the example directory for a complete sample app using CleverTap Flutter Plugin.

2
likes
80
pub points
76%
popularity

Clevertap Flutter plugin to send Clevertap events to Android/iOS

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

pbhaumik26@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on clevertap_flutter