Closed szoszig closed 2 years ago
how you resolved this?
Finally I figured out, that it is enough to call BChatSDK.auth().authenticate() instead of showing Splash. The result is the same, the sdk is initialized, and the user is authenticated, therefore when you fetch an existing threadId, it will find it :)
Is it possible to show directly a private thread on iOS? In my app the user is already logged in firebase. It looks like if I do not present the splashviewcontroller, I cannot fetch the threads (the users or anything else but auth says I am authenticated), but if i present it once, it works like a charm (even after app restart). But if I present splash it will navigate to an unnecessary screen (main).
Any idea? Thx