mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
17 lines
413 B
JavaScript
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);
|