You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sign up is pretty much unusable, since there's this issue which doesn't allow users to go fetch their OTP code somewhere else, since they need to dismiss the app, and therefore the browser window is closed. This happens in Android only.
Expected behavior
The browser window should not automatically close.
How to reproduce?
Make a basic installation of the library and switch to another app while in the browser window, then try to go back to the browser window, you'll see it has automatically disappeared.
This comment shows a workaround, which helps, while not perfect. It'd be adding this line to @logto/rn's client.js file.
It doesn't make the browser open in its past state if you reopen the app from its icon, but it does keep the browser window in the background without automatically closing it, which allows to have the app working for signups.
Describe the bug
Sign up is pretty much unusable, since there's this issue which doesn't allow users to go fetch their OTP code somewhere else, since they need to dismiss the app, and therefore the browser window is closed. This happens in Android only.
Expected behavior
The browser window should not automatically close.
How to reproduce?
Make a basic installation of the library and switch to another app while in the browser window, then try to go back to the browser window, you'll see it has automatically disappeared.
Context
Screenshots
Screen_Recording_20250202_021625_One_UI_Home.1.mp4
The text was updated successfully, but these errors were encountered: