mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 05:22:57 +08:00
delete openNotificationForIos
This commit is contained in:
parent
4c810fcaa9
commit
ea685713db
@ -106,47 +106,6 @@ JPushPlugin.prototype.openNotificationInAndroidCallback = function(data){
|
||||
console.log(exception);
|
||||
}
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.openNotificationInAndroidCallback = function(data){
|
||||
try{
|
||||
console.log(data);
|
||||
var bToObj = JSON.parse(data);
|
||||
var alert = bToObj.alert;
|
||||
var extras = bToObj.extras;
|
||||
console.log(alert);
|
||||
|
||||
console.log(extras['cn.jpush.android.MSG_ID']);
|
||||
console.log(extras['app']);
|
||||
console.log(extras['cn.jpush.android.NOTIFICATION_CONTENT_TITLE']);
|
||||
console.log(extras['cn.jpush.android.EXTRA']);
|
||||
console.log(extras['cn.jpush.android.PUSH_ID']);
|
||||
console.log(extras['cn.jpush.android.NOTIFICATION_ID']);
|
||||
console.log("JPushPlugin:openNotificationCallback is ready");
|
||||
}
|
||||
catch(exception){
|
||||
console.log(exception);
|
||||
}
|
||||
}
|
||||
JPushPlugin.prototype.openNotificationIniOSCallback = function(data){
|
||||
try{
|
||||
console.log(data);
|
||||
var bToObj = JSON.parse(data);
|
||||
var alert = bToObj.alert;
|
||||
var extras = bToObj.extras;
|
||||
console.log(alert);
|
||||
|
||||
console.log(extras['cn.jpush.android.MSG_ID']);
|
||||
console.log(extras['app']);
|
||||
console.log(extras['cn.jpush.android.NOTIFICATION_CONTENT_TITLE']);
|
||||
console.log(extras['cn.jpush.android.EXTRA']);
|
||||
console.log(extras['cn.jpush.android.PUSH_ID']);
|
||||
console.log(extras['cn.jpush.android.NOTIFICATION_ID']);
|
||||
console.log("JPushPlugin:openNotificationCallback is ready");
|
||||
}
|
||||
catch(exception){
|
||||
console.log(exception);
|
||||
}
|
||||
}
|
||||
//android single
|
||||
|
||||
JPushPlugin.prototype.getNotification = function (callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user