umeng_violet 0.0.3 copy "umeng_violet: ^0.0.3" to clipboard
umeng_violet: ^0.0.3 copied to clipboard

Flutter plugin for Umeng analytics

flutter_umeng_analytics #

Flutter plugin for umeng:analytics

Usage #

Init #

import 'dart:io';

if (Platform.isAndroid)
  UMengAnalytics.init('Android AppKey',
           encrypt: true, reportCrash: false);
else if (Platform.isIOS)
  UMengAnalytics.init('iOS AppKey',
          encrypt: true, reportCrash: false);

Log page #

initState() {
  super.initState();

  UMengAnalytics.beginPageView("home");
}

dispose() {
  super.dispose();

  UMengAnalytics.endPageView("home");
}

someFunction() {
  UMengAnalytics.logEvent("some click");
}

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin for Umeng analytics

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on umeng_violet