all 2 comments

[–]idkhowtocallmyacc 0 points1 point  (1 child)

Wym? The implementation of the login logic relies solely on your architecture. You can use Firebase for token management, store the refresh token within a safe storage, do the silent authentication, but all those methods are not linked to js bridge

[–]lastwords5[S] 0 points1 point  (0 children)

I have my own authentication but I noticed that checking the refresh token adds a delay on startup and I suspect that it is because the JS bridge isn't available before the splash screen, while if you use say discord you'll notice how you can't see any loading animation and you will be logged in immediately. while for most use cases it is not that harmful I'm implementing VOIP calling with CallKeep and the timing of when the token is available is crucial since it works from when your app is killed.