diff options
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/App.tsx b/src/App.tsx index 92d26ba7..18fadf64 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,11 +4,12 @@ import Routes from './routes'; import {Provider} from 'react-redux'; import store from './store/configureStore'; import {fcmService} from './services/FCMService'; +import {navigationRef} from './RootNavigation'; const App = () => { useEffect(() => { fcmService.setUpPushNotifications(); - //If permissions are not there, deactivateFcmService + // TODO: If permissions are not there, deactivateFcmService }); return ( @@ -16,7 +17,7 @@ const App = () => { * This is the provider from the redux store, it acts as the root provider for our application */ <Provider store={store}> - <NavigationContainer> + <NavigationContainer ref={navigationRef}> <Routes /> </NavigationContainer> </Provider> |