mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 05:22:57 +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(){
|
||||
|
||||
try{
|
||||
window.plugins.jPushPlugin.init();
|
||||
window.plugins.jPushPlugin.setDebugMode(true);
|
||||
window.plugins.jPushPlugin.getRegistrationID(onGetRegistradionID);
|
||||
// var extras={"name":"json"};
|
||||
// window.plugins.jPushPlugin.addLocalNotification(1,"hh","ln",1111,1000*60,extras);
|
||||
|
Loading…
Reference in New Issue
Block a user