更新安卓jpush570+新增setDataInsightsEnable接口+更新版本号为5.7.0

This commit is contained in:
huangshuni
2025-05-09 14:53:12 +08:00
parent f140784c9c
commit 795242e0c9
5 changed files with 20 additions and 3 deletions
+6
View File
@@ -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);
};