0 purchases
umeng statistics
umeng_statistics #
The plugin of Umeng statistics.
github 引用方式:
umeng_analytics:
git:
url: https://github.com/timer-cp/umeng_statistics.git
copied to clipboard
User Guide #
/// 初始化Appkey
static Future<bool> initAppKey(
String androidAppKey, String iosAppKey, String channel,
{bool logEnabled = false, bool encryptEnabled = false, processEvent = false})
copied to clipboard
/// 事件统计
static Future<bool> onEvent(String id, Map<String, Object> data)
copied to clipboard
/// 设置用户账户
static Future<bool> onProfileSignIn(String userID)
copied to clipboard
/// 取消用户账户
static Future<bool> onProfileSignOff()
copied to clipboard
/// 自动采集页面
static Future<bool> setPageCollectionModeAuto()
copied to clipboard
/// 手动采集页面
static Future<bool> setPageCollectionModeManual()
copied to clipboard
/// 开始页面时长统计,必须配对使用
static Future<bool> onPageStart(String viewName)
copied to clipboard
/// 结束页面时长统计,必须配对使用
static Future<bool> onPageEnd(String viewName)
copied to clipboard
代码混淆 #
-keep class com.umeng.** {*;}
-keepclassmembers class * {
public <init> (org.json.JSONObject);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.