databag/app/mobile/index.js
2023-03-06 14:07:42 -08:00

17 lines
413 B
JavaScript

import 'react-native-gesture-handler';
/**
* @format
*/
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import messaging from '@react-native-firebase/messaging';
messaging().registerDeviceForRemoteMessages().then(() => {});
messaging().setBackgroundMessageHandler(async remoteMessage => {});
AppRegistry.registerComponent(appName, () => App);