diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-05 15:27:00 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-05 15:27:00 -0500 |
commit | 2c69c7a49fcbc92fa1024a0e83c3bad669672e91 (patch) | |
tree | 8f770863bc0f1f1892ea946677ecf481a2abeaa6 /src/App.tsx | |
parent | 54027f2b5b763550fd11d1df6c5b979a7528170d (diff) |
moved permission to routes
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/App.tsx b/src/App.tsx index 18fadf64..ea3617dc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,17 +1,11 @@ -import React, {useEffect} from 'react'; import {NavigationContainer} from '@react-navigation/native'; -import Routes from './routes'; +import React from 'react'; import {Provider} from 'react-redux'; -import store from './store/configureStore'; -import {fcmService} from './services/FCMService'; import {navigationRef} from './RootNavigation'; +import Routes from './routes'; +import store from './store/configureStore'; const App = () => { - useEffect(() => { - fcmService.setUpPushNotifications(); - // TODO: If permissions are not there, deactivateFcmService - }); - return ( /** * This is the provider from the redux store, it acts as the root provider for our application |