From e117f77a38343fbc8ce73d9e66f0a55f53198cce Mon Sep 17 00:00:00 2001 From: Hevin <328066446@qq.com> Date: Tue, 29 Mar 2016 18:02:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=BB=9F=E8=AE=A1=E5=88=86?= =?UTF-8?q?=E6=9E=90=E5=8A=9F=E8=83=BD=E9=BB=98=E8=AE=A4=E4=B8=BA=E5=85=B3?= =?UTF-8?q?=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/index.html | 1 - src/android/JPushPlugin.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/example/index.html b/example/index.html index 6d51792..6791637 100644 --- a/example/index.html +++ b/example/index.html @@ -95,7 +95,6 @@ }; var initiateUI = function () { - try { window.plugins.jPushPlugin.init(); getRegistrationID(); diff --git a/src/android/JPushPlugin.java b/src/android/JPushPlugin.java index 035226b..bfce837 100644 --- a/src/android/JPushPlugin.java +++ b/src/android/JPushPlugin.java @@ -68,7 +68,7 @@ public class JPushPlugin extends CordovaPlugin { private static String TAG = "JPushPlugin"; private static boolean shouldCacheMsg = false; - private static boolean isStatisticsOpened = true; // 是否开启统计分析功能 + private static boolean isStatisticsOpened = false; // 是否开启统计分析功能 public static String notificationAlert; public static Map notificationExtras = new HashMap();