mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-05-06 02:12:55 +08:00
fix #57
This commit is contained in:
parent
c2f957acbe
commit
5ade8c3300
@ -284,7 +284,7 @@ ps:点击通知后传递的json object 保存在window.plugins.jPushPlugin.ope
|
|||||||
|
|
||||||
var alertContent
|
var alertContent
|
||||||
if(device.platform == "Android"){
|
if(device.platform == "Android"){
|
||||||
alertContent=window.plugins.jPushPlugin.openNotification.alert;
|
alertContent=window.plugins.jPushPlugin.receiveNotification.alert;
|
||||||
}else{
|
}else{
|
||||||
alertContent = event.aps.alert;
|
alertContent = event.aps.alert;
|
||||||
}
|
}
|
||||||
@ -351,7 +351,7 @@ ps:点击通知后传递的json object 保存在window.plugins.jPushPlugin.rec
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ps:点击通知后传递的json object 保存在window.plugins.jPushPlugin.receiveNotification,直接访问即可,字段示例,根据实际推送情况,可能略有差别,请注意
|
ps:点击通知后传递的json object 保存在window.plugins.jPushPlugin.receiveMessage,直接访问即可,字段示例,根据实际推送情况,可能略有差别,请注意
|
||||||
|
|
||||||
+ android
|
+ android
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user