We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29475e5 commit 9027532Copy full SHA for 9027532
1 file changed
src/App.tsx
@@ -7,6 +7,9 @@ import { createURL } from 'expo-linking';
7
import { Home, Profile, SignIn, useAuth } from './screens';
8
9
const RootStack = createNativeStackNavigator({
10
+ // Setting this option to 'lastUnhandled' will let React Navigation remember unhandled actions
11
+ // So if a deep link was not handled due to missing auth, it will be retried after auth
12
+ UNSTABLE_routeNamesChangeBehavior: 'lastUnhandled',
13
groups: {
14
authenticated: {
15
if: () => useAuth((state) => state.authenticated),
0 commit comments