Closed G3z closed 7 years ago
i confirm that if the exception is handled (for example with a .catch attached to your promise) the app no longer crashes
Hey @G3z thanks for opening this issue, haven't used this on react-native but your problem sounds like when the app is resumed, the channel is somehow already joined. If you have made it work for you, would be so kind to supply a pull-request ?
Thanks a lot :)
Hey @G3z would it be possible for you to try the #13 branch and confirm that it works for your react-native app ? I've added a new test for rejoining the channel as described by this issue, but just want to be sure it works on your real case.
Please upgrade to version 0.5.0
With the update no more crashes on resume: thanks
I'm using this in conjunction with react-native and everything was smooth until i tested a release build on my phone: When the app is suspended and resumed after a while (30s) it crashes. I have trouble identifying the source but here is the log
my best guess is that
tried to join multiple times. 'join' can only be called a single time per channel instance
refers to this call in APWthis is how i have set up my Network Interface