Open NR3101 opened 4 days ago
create oauth-native-callback.tsx in your app folder and paste this code:
import { Redirect } from "expo-router";
export default function Page() {
return <Redirect href="/" />;
}
also delete router.back() in your onSelectAuth function inside login page.
Thanks for the solution. It is working for me. There is a slight flash and then we are redirected to home. One more issue : My build is working when I run it with "npx expo run:android" but after building it with eas and running the apk on my physical device it only flashes the splash screen for a slight moment and doesn't go any further and sometimes for a fresh development build on my device using "npx expo run:android" its shows error : "[must be called from main thread]" and then automatically restarts well.
Its maybe the error that i mentioned in this issue.
Redirected to "Unmatched Route" Screen when we use OAuth(like Google, GitHub) providers for few seconds and then the app redirects to the home or back page. Could not resolve this any ideas how to solve this?