diff --git a/example/index.html b/example/index.html index 8e421ae..b7f1520 100644 --- a/example/index.html +++ b/example/index.html @@ -92,7 +92,7 @@ window.plugins.jPushPlugin.init(); window.plugins.jPushPlugin.getRegistrationID(onGetRegistradionID); - if(device.platform == "Android"){ + if(device.platform != "Android"){ window.plugins.jPushPlugin.setDebugModeFromIos(); window.plugins.jPushPlugin.setApplicationIconBadgeNumber(0); }else{ diff --git a/plugin.xml b/plugin.xml index 1184fc2..b1c8186 100644 --- a/plugin.xml +++ b/plugin.xml @@ -157,7 +157,7 @@ - +