* refetch expo push notificaion each try * remove entire app rendering when processing notificaion in the background
15 lines
360 B
JavaScript
15 lines
360 B
JavaScript
/**
|
|
* @format
|
|
*/
|
|
import './pollyfills.js';
|
|
import './disableFontScalling.js';
|
|
import './i18n'; // for translation option
|
|
import { AppRegistry } from 'react-native';
|
|
import App from './App';
|
|
import { name as appName } from './app.json';
|
|
|
|
// Register background task immediately
|
|
import './index.background';
|
|
|
|
AppRegistry.registerComponent(appName, () => App);
|