fork from flurry add logEvent params.
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.
Add flurry_event: ^0.1.3 in your pubspec.yaml dependencies.
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',
},
);