Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.32 KB

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',
  },
);

Paypal

Buy Me A Coffee