15 строки
385 B
JavaScript
15 строки
385 B
JavaScript
/**
|
|
* @format
|
|
*/
|
|
|
|
import {AppRegistry, Platform} from 'react-native';
|
|
import App from './src/App';
|
|
import {name as appName} from './app.json';
|
|
if (Platform.OS === 'android') {
|
|
// only android needs polyfill
|
|
require('intl'); // import intl object
|
|
require('intl/locale-data/jsonp/en-US'); // load the required locale details
|
|
}
|
|
|
|
AppRegistry.registerComponent(appName, () => App);
|