mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
Remove unused console.log
This commit is contained in:
parent
2eefd1c247
commit
9680e685e3
@ -311,21 +311,18 @@ JPushPlugin.prototype.receiveRegistrationIdInAndroidCallback = function (data) {
|
|||||||
|
|
||||||
JPushPlugin.prototype.receiveMessageInAndroidCallback = function (data) {
|
JPushPlugin.prototype.receiveMessageInAndroidCallback = function (data) {
|
||||||
data = JSON.stringify(data)
|
data = JSON.stringify(data)
|
||||||
console.log('JPushPlugin:receiveMessageInAndroidCallback: ' + data)
|
|
||||||
this.receiveMessage = JSON.parse(data)
|
this.receiveMessage = JSON.parse(data)
|
||||||
cordova.fireDocumentEvent('jpush.receiveMessage', this.receiveMessage)
|
cordova.fireDocumentEvent('jpush.receiveMessage', this.receiveMessage)
|
||||||
}
|
}
|
||||||
|
|
||||||
JPushPlugin.prototype.openNotificationInAndroidCallback = function (data) {
|
JPushPlugin.prototype.openNotificationInAndroidCallback = function (data) {
|
||||||
data = JSON.stringify(data)
|
data = JSON.stringify(data)
|
||||||
console.log('JPushPlugin:openNotificationInAndroidCallback: ' + data)
|
|
||||||
this.openNotification = JSON.parse(data)
|
this.openNotification = JSON.parse(data)
|
||||||
cordova.fireDocumentEvent('jpush.openNotification', this.openNotification)
|
cordova.fireDocumentEvent('jpush.openNotification', this.openNotification)
|
||||||
}
|
}
|
||||||
|
|
||||||
JPushPlugin.prototype.receiveNotificationInAndroidCallback = function (data) {
|
JPushPlugin.prototype.receiveNotificationInAndroidCallback = function (data) {
|
||||||
data = JSON.stringify(data)
|
data = JSON.stringify(data)
|
||||||
console.log('JPushPlugin:receiveNotificationInAndroidCallback: ' + data)
|
|
||||||
this.receiveNotification = JSON.parse(data)
|
this.receiveNotification = JSON.parse(data)
|
||||||
cordova.fireDocumentEvent('jpush.receiveNotification', this.receiveNotification)
|
cordova.fireDocumentEvent('jpush.receiveNotification', this.receiveNotification)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user