# Issue on Android: Auth0 not redirecting back to the app after Google login in React Native Expo

**URL:** <https://community.auth0.com/t/issue-on-android-auth0-not-redirecting-back-to-the-app-after-google-login-in-react-native-expo/151540>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [November 14, 2024, 5:13pm UTC](https://community.auth0.com/t/issue-on-android-auth0-not-redirecting-back-to-the-app-after-google-login-in-react-native-expo/151540 "2024-11-14T17:13:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mario4/32/62181_2.png) [@mario4](https://community.auth0.com/u/mario4)\
**Post date:** [November 14, 2024, 5:13pm UTC](https://community.auth0.com/t/issue-on-android-auth0-not-redirecting-back-to-the-app-after-google-login-in-react-native-expo/151540/1 "2024-11-14T17:13:43Z")

</div>

> I’m using Auth0 to authenticate users in my React Native app with Expo. The login flow works perfectly on iOS, where the app redirects correctly after signing in with Google. However, on Android, after completing the login, it doesn’t redirect back to the app, leaving the user stuck without returning to the app interface. Has anyone faced this issue and found a solution?

> I’ve checked the URI and redirect settings in Auth0, and everything seems correctly configured, but the issue persists only on Android. Any ideas on what might be causing this or how to fix it?

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 15, 2024, 11:28pm UTC](https://community.auth0.com/t/issue-on-android-auth0-not-redirecting-back-to-the-app-after-google-login-in-react-native-expo/151540/2 "2024-11-15T23:28:02Z")

</div>

Hi @mario4,

Welcome to the Auth0 Community!

Can you confirm that your callback and logout URLs are configured according to this React Native Expo guide: [Auth0 Expo SDK Quickstarts: Add Login to your React Native App](https://auth0.com/docs/quickstart/native/react-native-expo/interactive)

 ![Screenshot 2024-11-15 at 5.26.07 PM](https://global.discourse-cdn.com/auth0/original/3X/8/d/8d3b0a673c407776580faff980e4176323732e8e.png)

Best,

Mary Beth

---

<div class="post-metadata">

**Author:** ![mario4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mario4/32/62181_2.png) [@mario4](https://community.auth0.com/u/mario4)\
**Post date:** [November 16, 2024, 12:08am UTC](https://community.auth0.com/t/issue-on-android-auth0-not-redirecting-back-to-the-app-after-google-login-in-react-native-expo/151540/3 "2024-11-16T00:08:05Z")

</div>

My Expo version:  
`expo@51.0.35`

The version `"react-native-auth0": "^3.2.1"` is not compatible with this Expo SDK version. Running `prebuild` with this version generated the following `manifestPlaceholders` in `android/app/build.gradle`:

```auto
manifestPlaceholders = [auth0Domain: "xxx.us.auth0.com", auth0Scheme: "com.xxx.xxx.auth0"]

```

To resolve this issue, I updated to:  
`"react-native-auth0": "4.0.0-beta.0"`

Then, in `android/app/src/main/AndroidManifest.xml`, I added the following configuration:

```auto
<activity android:name="com.auth0.android.provider.RedirectActivity" 
          tools:node="replace" 
          android:exported="true">
    <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>
        <data android:scheme="com.xxx.xxx.auth0" android:host="xxx.us.auth0.com"/>
    </intent-filter>
</activity>

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 30, 2024, 12:09am UTC](https://community.auth0.com/t/issue-on-android-auth0-not-redirecting-back-to-the-app-after-google-login-in-react-native-expo/151540/4 "2024-11-30T00:09:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
