2
0
mirror of synced 2025-01-12 15:14:39 +00:00

11 lines
354 B
JavaScript
Raw Normal View History

2017-04-23 20:22:19 +01:00
import { AppRegistry } from 'react-native';
import bootstrap from './src/main';
import bgMessaging from './src/bgMessaging';
2017-04-23 20:22:19 +01:00
AppRegistry.registerComponent('ReactNativeFirebaseDemo', () => bootstrap);
// Task registered to handle background data-only FCM messages
AppRegistry.registerHeadlessTask(
'RNFirebaseBackgroundMessage',
() => bgMessaging
);