# Unblock Account Email does not re-direct to Android App

**URL:** <https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971>\
**Category:** Get Help\
**Tags:** email, redirect\
**Created:** [October 7, 2021, 9:21pm UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971 "2021-10-07T21:21:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkalb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gkalb/32/19602_2.png) [@gkalb](https://community.auth0.com/u/gkalb)\
**Post date:** [October 7, 2021, 9:21pm UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971/1 "2021-10-07T21:21:17Z")

</div>

Hello!

I’m developing a React Native App and have noticed that when I try to Unblock an account through the email that is sent to the user after multiple incorrect login attempts, I am _not_ brought to the App through the email’s re-direct url on Android. I can confirm I am brought to the App on iOS however. There are separate Applications entries for Android and iOS to get around the Email Template’s limitations of only being able to access an Application’s _first_ entry in its callback url list, and I can confirm the callback url is correctly configured on the Android app as we have also successfully implemented Universal Login. I can also confirm the full redirect url when accessing the Unblock Email through a browser’s private window as it prompts the redirect with a popup, and I see no issues there.

Any guidance in resolving this is greatly appreciated!

Thanks, gkalb

---

<div class="post-metadata">

**Author:** ![gkalb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gkalb/32/19602_2.png) [@gkalb](https://community.auth0.com/u/gkalb)\
**Post date:** [October 14, 2021, 9:26pm UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971/2 "2021-10-14T21:26:21Z")

</div>

Haven’t fixed this yet, but narrowed it down to activity intent-filters in the AndroidManifest.xml.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 15, 2021, 8:57am UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971/3 "2021-10-15T08:57:34Z")

</div>

That’s progress! Let us know if you manage to narrow it down!

---

<div class="post-metadata">

**Author:** ![gkalb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gkalb/32/19602_2.png) [@gkalb](https://community.auth0.com/u/gkalb)\
**Post date:** [October 18, 2021, 10:28pm UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971/4 "2021-10-18T22:28:32Z")

</div>

Fixed! The android:pathPrefix was the issue. Originally we had:

```auto
<data
                  android:host="${myHost}"
                  android:pathPrefix="/android/${applicationId}/callback"
                  android:scheme="${applicationId}" />

```

which is tailored for the Universal Login process, but is too specified for the email redirect process. Removing the android:pathPrefix fixed the issue, relaxing the filtering to allow both types of requests.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 19, 2021, 1:45pm UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971/5 "2021-10-19T13:45:42Z")

</div>

Perfect! Thanks for sharing it with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 12:03pm UTC](https://community.auth0.com/t/unblock-account-email-does-not-re-direct-to-android-app/70971/6 "2021-10-28T12:03:37Z")

</div>


