JPushModule.addReceiveNotificationListener触发多次BUG
我在根组件componentDidMount里面注册监听事件JPushModule.addReceiveNotificationListener,
并且在componentWillUnmount里面(确实触发了组件销毁函数)移除事件
JPushModule.removeReceiveNotificationListener("receiveNotification"). ,
当app反复退出打开之后,问题来了:后台向app推送了一条消息,但是app里面的JPushModule.addReceiveNotificationListener回调却触发了多次