diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-02-05 16:47:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 16:47:17 -0500 |
commit | ed866c9304a4996c4cdfb19224b7ea26c2ee7e32 (patch) | |
tree | d05e9e2a48dbc6d9986add1e36ba32ded9699b32 /src/App.tsx | |
parent | c3cd8f95c6534fb5eb78af299ef424c50aefd85a (diff) | |
parent | 94d38350ba0bcfd0bc3095d8628de67fbe6ee6dc (diff) |
Merge pull request #221 from IvanIFChen/tma607-notification-permission-after-onboarding
[TMA-607] Moved Permission to After Login
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 |