RCTRealtimeMessagingAndroid icon indicating copy to clipboard operation
RCTRealtimeMessagingAndroid copied to clipboard

Multiple Event Listeners

Open mobilewebguru opened this issue 7 years ago • 0 comments

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

mobilewebguru avatar Jul 11 '18 10:07 mobilewebguru