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: ^0.0.5 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");

Libraries

flurry

Dart

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language. [...]

Web

dart:html
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
dart:js
Low-level support for interoperating with JavaScript. [...]
dart:js_util
Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.