17 lines
464 B
JavaScript
17 lines
464 B
JavaScript
/**
|
|
* @format
|
|
*/
|
|
import 'react-native-gesture-handler';
|
|
import 'react-native-reanimated';
|
|
|
|
import { AppRegistry } from 'react-native';
|
|
import App from './app/App';
|
|
import { name as appName } from './app.json';
|
|
import messaging from '@react-native-firebase/messaging';
|
|
|
|
messaging().setBackgroundMessageHandler(async remoteMessage => {
|
|
console.log("'Message handled in the background!'", remoteMessage);
|
|
});
|
|
|
|
AppRegistry.registerComponent(appName, () => App);
|