mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
update demo
This commit is contained in:
parent
309131e944
commit
b67b022db3
@ -88,7 +88,7 @@
|
|||||||
var initiateUI = function() {
|
var initiateUI = function() {
|
||||||
try {
|
try {
|
||||||
window.plugins.jPushPlugin.init();
|
window.plugins.jPushPlugin.init();
|
||||||
getRegistrationID();
|
window.setTimeout(getRegistrationID, 1000);
|
||||||
if (device.platform != "Android") {
|
if (device.platform != "Android") {
|
||||||
window.plugins.jPushPlugin.setDebugModeFromIos();
|
window.plugins.jPushPlugin.setDebugModeFromIos();
|
||||||
window.plugins.jPushPlugin.setApplicationIconBadgeNumber(0);
|
window.plugins.jPushPlugin.setApplicationIconBadgeNumber(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user