We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e00a03a + 0131840 commit 10f78f7Copy full SHA for 10f78f7
src/navigation.tsx
@@ -6,6 +6,7 @@ import React from 'react'
6
import Home from './screen/home/Home'
7
import Profile from './screen/profile/Profile'
8
import Settings from './screen/settings/Settings'
9
+import { navigationRef } from './services/navigationService'
10
11
const Stack = createStackNavigator()
12
const Tab = createBottomTabNavigator()
@@ -45,7 +46,7 @@ const TabNavigation = () => (
45
46
)
47
48
export const AppNavigation = () => (
- <NavigationContainer>
49
+ <NavigationContainer ref={navigationRef}>
50
<Stack.Navigator
51
initialRouteName={'Home'}
52
headerMode={'screen'}
0 commit comments