On iOS, if the client can't connect to a server (e.g., server isn't found) the app will crash because we're attempting to operate on a non-existent session, which causes a segfault.
To prevent, I've rejected the promise when we can't connect.
I'm also using the library on RN 0.40.0, and it works great, so I updated the peer dependency to 0.x.x. Otherwise, I can't use the library because of 0.35.0 restriction.
On iOS, if the client can't connect to a server (e.g., server isn't found) the app will crash because we're attempting to operate on a non-existent session, which causes a segfault.
To prevent, I've rejected the promise when we can't connect.
I'm also using the library on RN 0.40.0, and it works great, so I updated the peer dependency to 0.x.x. Otherwise, I can't use the library because of 0.35.0 restriction.
Thanks!