mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
18 lines
452 B
JavaScript
18 lines
452 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(() => {}).catch((err) => {
|
|
console.log(err);
|
|
});
|
|
messaging().setBackgroundMessageHandler(async remoteMessage => {});
|
|
|
|
AppRegistry.registerComponent(appName, () => App);
|