flurry_analytics 0.1.2

Flutter Android iOS

A Flutter plugin to use Flurry Analytics. This version logs sessions, crash detections, simple event logging, UserId, and EndTimedEvent. We plan to add more features.

flurry_analytics #

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

How to use #

Importing the library :

import 'package:flurry_analytics/flurry_analytics.dart';

Initialization : (Before this, you must have the Android Key and iOS Key, from Flurry dashboard)

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

Logging/setting UserId :

FlurryAnalytics.setUserId("1234");

Logging event:

FlurryAnalytics.logEvent("event name");

Logging event with parameters:

FlurryAnalytics.logEvent("event name", { "param1": "12"});

Logging the end of an event (to log duration):

FlurryAnalytics.endTimedEvent("event name");
1
likes
90
pub points
63%
popularity

A Flutter plugin to use Flurry Analytics. This version logs sessions, crash detections, simple event logging, UserId, and EndTimedEvent. We plan to add more features.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

2vansh@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flurry_analytics