# \[Archive\] \[Unity - Android\] Slow opening web browser and no callback after complete login

**URL:** <https://builder.metamask.io/t/archive-unity-android-slow-opening-web-browser-and-no-callback-after-complete-login/1674>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [November 29, 2023, 4:03am UTC](https://builder.metamask.io/t/archive-unity-android-slow-opening-web-browser-and-no-callback-after-complete-login/1674 "2023-11-29T04:03:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![truongnt](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@truongnt](https://builder.metamask.io/u/truongnt)\
**Post date:** [November 29, 2023, 4:03am UTC](https://builder.metamask.io/t/archive-unity-android-slow-opening-web-browser-and-no-callback-after-complete-login/1674/1 "2023-11-29T04:03:23Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **truongnt** on 11/29/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

- 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:

[![init](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/3c7501e95888830180ec1226be658e6318d6957e.png)
init803×500 52.3 KB
](https://web3auth.io/community/uploads/default/original/2X/3/3634cf087a872bb55d64c42e70bfecffe37ef440.png "init")

login code:

[![login](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/c328b190537dc6b7161a487133ea259177d91b9b.png)
login736×529 33.8 KB
](https://web3auth.io/community/uploads/default/original/2X/3/38500523aa66e82ea2c2b90633e44b1d6ccfd177.png "login")

and handle callback:

[![handle](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/bd352897b5a087ca0ddff21bb25583b35705a54e.png)
handle722×464 41.8 KB
](https://web3auth.io/community/uploads/default/original/2X/7/78c1b1b4eeefa8711316ba9b62a99a0cea31a742.png "handle")

Is there something wrong with my setup?

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [November 29, 2023, 4:09am UTC](https://builder.metamask.io/t/archive-unity-android-slow-opening-web-browser-and-no-callback-after-complete-login/1674/2 "2023-11-29T04:09:55Z")

</div>

@truongnt Welcome Aboard!

Can you please paste your Initialization code, login code and callback information as text as the links you provided are not accessible?

---

<div class="post-metadata">

**Author:** ![truongnt](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@truongnt](https://builder.metamask.io/u/truongnt)\
**Post date:** [November 29, 2023, 9:02am UTC](https://builder.metamask.io/t/archive-unity-android-slow-opening-web-browser-and-no-callback-after-complete-login/1674/3 "2023-11-29T09:02:05Z")

</div>

Sorry, I fixed image on my post. Please help me to check. Thanks

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://builder.metamask.io/u/gaurav)\
**Post date:** [December 11, 2023, 6:45am UTC](https://builder.metamask.io/t/archive-unity-android-slow-opening-web-browser-and-no-callback-after-complete-login/1674/4 "2023-12-11T06:45:07Z")

</div>

Hi @truongnt, pls try running example attached with sdk itself. Its working fine at my end in android. Let me know if it works or not.
