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);