mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
更新安卓jpush570+新增setDataInsightsEnable接口+更新版本号为5.7.0
This commit is contained in:
@@ -59,6 +59,12 @@ JPushPlugin.prototype.setDebugMode = function(mode) {
|
||||
}
|
||||
};
|
||||
|
||||
JPushPlugin.prototype.setDataInsightsEnable = function(mode) {
|
||||
if (device.platform === "Android") {
|
||||
this.callNative("setDataInsightsEnable", [mode], null);
|
||||
}
|
||||
};
|
||||
|
||||
JPushPlugin.prototype.getRegistrationID = function(successCallback) {
|
||||
this.callNative("getRegistrationID", [], successCallback);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user