update demo

This commit is contained in:
pikacode 2016-12-06 13:59:33 +08:00
parent 309131e944
commit b67b022db3

View File

@ -88,7 +88,7 @@
var initiateUI = function() {
try {
window.plugins.jPushPlugin.init();
getRegistrationID();
window.setTimeout(getRegistrationID, 1000);
if (device.platform != "Android") {
window.plugins.jPushPlugin.setDebugModeFromIos();
window.plugins.jPushPlugin.setApplicationIconBadgeNumber(0);