/flurry_plugin_flutter

A Flutter plugin to use Flurry Analytics

Primary LanguageJavaMIT LicenseMIT

flurry

A Flutter plugin to use Flurry Analytics. This plugin logs sessions, crash detections, simple event logging, UserId.

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: ^1.0.0 in your pubspec.yaml dependencies.

How to use

importing the library:

import 'package:flurry/flurry.dart';

initialization:

await Flurry.initialize(androidKey: "xxx", iosKey: "xxx", enableLog: true);

logging/setting userId:

Flurry.setUserId("1234");

logging event:

Flurry.logEvent("event name");