ionic1 消息接收能在通知栏显示但是我触发不了addReceiveMessageListener 这个方法
cordova的版本是7.0.1
在android 真机上测试的
jmessage-phonegap-plugin的版本是3.0.15。
在js里我是这样写的
window.JMessage.addReceiveMessageListener(function(msg){
alert(1)
});
消息收到的时候通知栏有提示 但是触发不了这个方法
cordova的版本是7.0.1
在android 真机上测试的
jmessage-phonegap-plugin的版本是3.0.15。
在js里我是这样写的
window.JMessage.addReceiveMessageListener(function(msg){
alert(1)
});
消息收到的时候通知栏有提示 但是触发不了这个方法