2022-09-18 06:24:37 +00:00
|
|
|
import 'react-native-gesture-handler';
|
2022-09-06 21:38:53 +00:00
|
|
|
import { registerRootComponent } from 'expo';
|
2022-01-14 07:59:53 +00:00
|
|
|
import App from './App';
|
2022-11-07 18:29:19 +00:00
|
|
|
import messaging from '@react-native-firebase/messaging';
|
|
|
|
|
2022-11-09 07:25:55 +00:00
|
|
|
messaging().registerDeviceForRemoteMessages();
|
|
|
|
messaging().setBackgroundMessageHandler(async remoteMessage => {});
|
2022-11-07 18:29:19 +00:00
|
|
|
|
2022-09-06 21:38:53 +00:00
|
|
|
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
|
|
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
|
|
// the environment is set up appropriately
|
|
|
|
registerRootComponent(App);
|