voximplant / react-native-voximplant

Voximplant mobile SDK for React Native (iOS/Android)
http://voximplant.com
205 stars 39 forks source link

ConnectionEstablished is not fired #179

Closed wilmxre closed 1 year ago

wilmxre commented 1 year ago

After my phone goes in background mode (i open a different app for example) the ConnectionClosed event is fired. When i open the app again, the ConnectionEstablished and AuthResult events are triggered. My app functions as intended like this, but after i have a call and go in background mode and go back to foreground state the ConnectionEstablished and AuthResult events are not fired anymore. What could possible cause this?

OS: iOS Device: iPhone XS Max

ryancha89 commented 1 month ago

I have struggled for a week for this problem too when loginWithToken you should put node argument when you trigger connect function await this.client.connect({ node: 'node1' });