diff --git a/expo/app/(tabs)/index.tsx b/expo/app/(tabs)/index.tsx index 963de632..db5b4a46 100644 --- a/expo/app/(tabs)/index.tsx +++ b/expo/app/(tabs)/index.tsx @@ -1,6 +1,8 @@ +import * as WebBrowser from "expo-web-browser"; import { Text } from "react-native"; export default function TabOneScreen() { + WebBrowser.maybeCompleteAuthSession(); return ( <> Index diff --git a/expo/lib/providerMethods.ts b/expo/lib/providerMethods.ts index 6d4c9668..bbea77af 100644 --- a/expo/lib/providerMethods.ts +++ b/expo/lib/providerMethods.ts @@ -88,6 +88,7 @@ export const signInWithProvider = async ({ }); if (!error) { + WebBrowser.maybeCompleteAuthSession(); // required for web only router.replace("/(tabs)"); return; }