flutuate_mixpanel
一個用於在 Android 設備上使用 Mixpanel API 的 Flutter 外掛。
一個用於 Mixpanel 的 Flutter 外掛
{"sdk":"flutter"}^1.14.4{"sdk":"flutter"}{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter plugin for Mixpanel.
This plugin wraps the most of the functions from Mixpanel SDK. It runs on both Android and iOS. To use it, you must have a registered token from Mixpanel.
Add flutuate_mixpanel to pubspec.yaml under the dependencies field.
dependencies:
flutuate_mixpanel: ^latest_version
Add the following import in your library :
import 'package:flutuate_mixpanel/flutuate_mixpanel.dart';
For you to use the plugin, in your Flutter app, get an instance of Mixpanel plugin:
MixpanelAPI instance = await MixpanelAPI.getInstance('<your_mixpanel_token');
So after, you only call the API methods specified in Mixpanel Android API documentation.
See also the Mixpanel documentation for more informations.
The sample project has more details about how to use the plugin.