jpush-react-native
jpush-react-native copied to clipboard
_jpushReactNative.default.addReceiveNotificationListener is not a function
运行环境
- jpush-react-native:2.6.1
- react-native 版本:0.61.2
无法注册监听事件,如下报错了

const Receive=(message:any)=>{ console.log("接收到了推送事件") console.log(message); } JPushModule.addReceiveNotificationListener(Receive)
运行JPushModule.init()没有任何问题,请问如何解决
可以跑通demo吗