jpush-phonegap-plugin IOS 能收到message 但是不能收到notification
我使用了jpush-phonegap-plugin插件,把这个插件集成到IOS工程中时运行的结果有问题:ios能够收到message,但是收不到notification
注册:
document.addEventListener("jpush.openNotification", onOpenNotification, false);
document.addEventListener("jpush.receiveNotification", onReceiveNotification, false);
document.addEventListener("jpush.receiveMessage", onReceiveMessage, false);
document.addEventListener("jpush.receiveRegistrationId", function (event) {
console.log("receiveRegistrationId" + JSON.stringify(event));
}, false)