404 Screen after Google Auth on Android

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android

I implemented Google Auth in my Firebase project using expo-auth-session and used expo-linking to set the link as below:

const linking = {
  prefixes: [Linking.makeUrl('/')],
  config: {
    screens: {
      Home: {
        screens: {
          Profile: 'profile',
        },
      },
      NotFound: '*',
    },
  },
};

After logging in, the specified screen (Profile) is displayed on the web and iOS. But only on Android, the Not Found screen is displayed.

I followed the Expo guide on how to implement Google Auth.

I tried everything I could, but I don’t know the solution.

Hey @kjmczk, with what environment is this occurring? Local? Production? In the Expo client? Can you provide as much relevant information as possible so we can help debug.

Cheers,
Adam

Sorry for the lack of information.

The environment is local and I’m using the Android emulator.

After the NotFound screen is displayed, reloading the app will bring up the Profile screen, so the Login itself is successful.

Also, if I remove the NotFound screen from the Linking config, it works fine.

Thanks,
Koji

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