Merge branch 'main' into copilot/implement-log-off-everywhere-functionality

This commit is contained in:
Christian Krakau-Louis
2026-03-17 12:12:50 +01:00
committed by GitHub
31 changed files with 2271 additions and 11 deletions
+1
View File
@@ -118,6 +118,7 @@ function AuthGuard() {
return (
<Stack screenOptions={{ headerShown: false }}>
<Stack.Screen name="index" />
<Stack.Screen name="(auth)" />
<Stack.Screen name="(tabs)" />
</Stack>
+17
View File
@@ -0,0 +1,17 @@
/**
* Root index route redirects to the auth flow on launch.
*
* expo-router renders this when the "/" route is matched (i.e. on cold start).
* Without this file, a stale default scaffold page ("Hello World") can appear
* if one was left behind by a previous build or Expo CLI scaffolding.
*
* The redirect targets the (auth) group; the AuthGuard in _layout.tsx will
* immediately forward authenticated users to (tabs).
*/
import { Redirect } from "expo-router";
import React from "react";
export default function RootIndex() {
return <Redirect href="/(auth)/" />;
}