From b67b022db30ed38b79584b62c474132f87528044 Mon Sep 17 00:00:00 2001 From: pikacode Date: Tue, 6 Dec 2016 13:59:33 +0800 Subject: [PATCH] update demo --- example/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/index.html b/example/index.html index eb8b11b..93371b3 100644 --- a/example/index.html +++ b/example/index.html @@ -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);