Can't receive ON_SESSION_DID_CONNECT event on android
When session connects, android is not receiving the ON_SESSION_DID_CONNECT event. I did the same test on iOS and it is working perfectly.
When I tried to debug the logcat I found the message:
unknown:ReactNative: Calling JS function after bridge has been destroyed: RCTDeviceEventEmitter.emit(["onSessionDidConnect",{"sessionId":"1_MX40..."}])
I hope someone could help me to fix this problem.
Anyone got this?
We are already working on fixing this. It happens only on develop mode after reloading JS part of the application because Session Manager Instance is trying to send events using old context.
Here is my pr waiting for merge with missing events, but we step into other bug with @dratwas which he mentioned and it needs to be solved before merge.
Thank you so much for the explanation.