delete openNotificationForIos

This commit is contained in:
zhangqinghe 2014-07-23 14:39:47 +08:00
parent 4c810fcaa9
commit ea685713db

View File

@ -87,47 +87,6 @@ JPushPlugin.prototype.receiveMessageIniOSCallback = function(data){
} }
// //
JPushPlugin.prototype.openNotificationInAndroidCallback = function(data){ 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.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{ try{
console.log(data); console.log(data);
var bToObj = JSON.parse(data); var bToObj = JSON.parse(data);