flurry_event 0.1.3 flurry_event: ^0.1.3 copied to clipboard
A Flutter plugin to use Flurry Analytics. This plugin logs sessions, crash detections, simple event logging, UserId.
flurry_event #
fork from flurry add logEvent params.
Getting Started #
This is a Flutter plugin to use Flurry Analytics. It implements native calls to Flurry Android SDK and Flurry iOS SDK. The plugin logs sessions, crash detections, simple event logging, and UserId.
Installation #
Add flurry_event: ^0.1.3 in your pubspec.yaml dependencies.
How to use #
importing the library:
import 'package:flurry_event/flurry.dart';
initialization:
await FlurryEvent.initialize(
androidKey: "xxx",
iosKey: "xxx",
enableLog: true,
);
logging/setting userId:
FlurryEvent.setUserId("1234");
logging event:
FlurryEvent.logEvent("event name", {
'foo': 'bar',
},
);