-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (22 loc) · 747 Bytes
/
Copy pathindex.js
File metadata and controls
26 lines (22 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* @format
*/
import { AppRegistry } from "react-native";
import { App } from "./src/App";
import { name as appName } from "./app.json";
import {configureApp} from "./src/core/configuration";
// noinspection JSUnresolvedVariable
if (global.HermesInternal) {
if (typeof Intl === "undefined") {
require("intl");
require("intl/locale-data/jsonp/ru");
require("intl/locale-data/jsonp/en");
}
require("@formatjs/intl-getcanonicallocales/polyfill");
require("@formatjs/intl-locale/polyfill");
require("@formatjs/intl-pluralrules/polyfill");
require("@formatjs/intl-pluralrules/locale-data/ru");
require("@formatjs/intl-pluralrules/locale-data/en");
}
configureApp();
AppRegistry.registerComponent(appName, () => App);