const _handlePush2 = function(message) {
plus.nativeUI.alert("_handlePush2"+JSON.stringify(message));
}
const _handlePush1 = function(message) {
plus.nativeUI.alert("_handlePush1"+JSON.stringify(message));
}
plus.push.addEventListener('click', _handlePush1);
plus.push.addEventListener('receive', _handlePush2);
安卓手机只能触发click 事件, 苹果手机只能触发receive事件
0 个回复