mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
更新JPush5.0.3,删除引起自启的配置
This commit is contained in:
@@ -369,6 +369,20 @@ JPushPlugin.prototype.receiveMessageInAndroidCallback = function(data) {
|
||||
this.receiveMessage = JSON.parse(data);
|
||||
cordova.fireDocumentEvent("jpush.receiveMessage", this.receiveMessage);
|
||||
};
|
||||
JPushPlugin.prototype.receiveInAppMessageClickCallback = function(data) {
|
||||
if (device.platform === "Android") {
|
||||
data = JSON.stringify(data);
|
||||
this.receiveMessage = JSON.parse(data);
|
||||
cordova.fireDocumentEvent("jpush.receiveInAppMessageClick", this.receiveMessage);
|
||||
}
|
||||
};
|
||||
JPushPlugin.prototype.receiveInAppMessageShowCallback = function(data) {
|
||||
if (device.platform === "Android") {
|
||||
data = JSON.stringify(data);
|
||||
this.receiveMessage = JSON.parse(data);
|
||||
cordova.fireDocumentEvent("jpush.receiveInAppMessageShow", this.receiveMessage);
|
||||
}
|
||||
};
|
||||
|
||||
JPushPlugin.prototype.openNotificationInAndroidCallback = function(data) {
|
||||
data = JSON.stringify(data);
|
||||
|
||||
Reference in New Issue
Block a user