Flutter plugin for integrating Blueshift's iOS and Android SDKs to your Flutter application.
Refer to the Flutter Plugin Integration guide to integrate the Blueshift SDK for Android and iOS.
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.
MIT