Skip to content

blueshift-labs/Blueshift-Flutter-Plugin

Repository files navigation

Blueshift Flutter Plugin

Flutter plugin for integrating Blueshift's iOS and Android SDKs to your Flutter application.

Integration

Refer to the Flutter Plugin Integration guide to integrate the Blueshift SDK for Android and iOS.

Usage

Import the Blueshift plugin to your Dart code.

import 'package:blueshift_plugin/blueshift_plugin.dart';

Once imported, you can call the Blueshift plugin's methods as mentioned below.

/// Make a call to Blueshift functions
Blueshift.setUserInfoEmailId("test@blueshift.com");
Blueshift.identifyWithDetails(
  {"user_type": "premium", "country": "US", "timezone": "PST"},
);

Refer to the Blueshift class to know more about features and methods supported by the plugin and how to use them.

License

MIT