- SDK Version:2.1.0
- Platform: Android
Hello, I am implementing login system for unity project with web3Auth unity sdk. I tried to test the login on the editor, everything worked. After pressing login, the browser opened and I logged in with google. After successful login, the browser returned data to the unity editor to execute the onlogin function.
Although sometimes it takes 3-5 seconds for the browser to pop up, it’s still acceptable.
I perform apk build and launch the application on android device.
After I clicked login, the time it took for the browser to appear was quite long, >10 seconds. After completing the login on the browser, I do not see a callback from the browser returning data to my application. Although I have set up redirect_url according to the instructions Window > Web3Auth > Deep Link Generator.
Here is my initialization code:
login code:
and handle callback:
Is there something wrong with my setup?