From ea685713db944ad6ef1e10cf7369d5539e6021ad Mon Sep 17 00:00:00 2001 From: zhangqinghe Date: Wed, 23 Jul 2014 14:39:47 +0800 Subject: [PATCH] delete openNotificationForIos --- www/JPushPlugin.js | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/www/JPushPlugin.js b/www/JPushPlugin.js index 0b0bb8b..684d1e3 100644 --- a/www/JPushPlugin.js +++ b/www/JPushPlugin.js @@ -87,47 +87,6 @@ JPushPlugin.prototype.receiveMessageIniOSCallback = 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{ console.log(data); var bToObj = JSON.parse(data);