RCTRealtimeMessagingAndroid
RCTRealtimeMessagingAndroid copied to clipboard
Multiple Event Listeners
I have two views that I want to listen for onMessage event When View B is pushed from View A, and if I remove event listener on View B componentWillUnmount, the event listener on View A also gets removed. So it would be great if we have second parameter in RTRemoveEventListener method. Or is there any other solution?
Thanks