mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 14:32:51 +08:00
add interface init and setDebugMode in example
This commit is contained in:
parent
0aed054039
commit
7c1c29a7ec
@ -39,6 +39,8 @@
|
|||||||
var initiateUI = function(){
|
var initiateUI = function(){
|
||||||
|
|
||||||
try{
|
try{
|
||||||
|
window.plugins.jPushPlugin.init();
|
||||||
|
window.plugins.jPushPlugin.setDebugMode(true);
|
||||||
window.plugins.jPushPlugin.getRegistrationID(onGetRegistradionID);
|
window.plugins.jPushPlugin.getRegistrationID(onGetRegistradionID);
|
||||||
// var extras={"name":"json"};
|
// var extras={"name":"json"};
|
||||||
// window.plugins.jPushPlugin.addLocalNotification(1,"hh","ln",1111,1000*60,extras);
|
// window.plugins.jPushPlugin.addLocalNotification(1,"hh","ln",1111,1000*60,extras);
|
||||||
|
Loading…
Reference in New Issue
Block a user