Hello, Web3Auth team and community. I am a Flutter developer who uses Web3Auth as a social login. I really like the idea and functionality of Web3Auth, which allows me to provide my users with passwordless, non-custodial authentication services, while supporting various login methods, including OAuth (Google, Twitter, Discord, etc.) and different wallets . However, I recently encountered a very serious bug when using Web3Auth Flutter SDK 1.2.0, which causes my app to crash in weak or no network conditions. I hope to report this problem to you through this post and seek a solution.
When I use Web3Auth as a social login, if my network connection is unstable or disconnected, clicking the close button in the upper left corner of the page during the Web3Auth page loading process will cause my app to crash. This bug affects the user experience very much, because users may encounter unstable network conditions at any time and may want to cancel the login operation. If doing so will cause the app to crash every time, then users will lose confidence in my app and may uninstall it.
Here are the steps to reproduce:
-
Open the app and click to use Web3Auth to log in
-
Choose Google as the login method
-
Disconnect the network connection during the Web3Auth page loading process
-
Click the close button in the upper left corner of the page
-
Observe whether the app crashes
Problem environment:
- Flutter sdk version: 1.2.0
- Platform: Android 13