2018-10-04 05:18:36 +03:00
|
|
|
import { AppRegistry } from 'react-native';
|
2019-05-11 15:06:11 +03:00
|
|
|
import AppCenter from 'appcenter';
|
2019-01-05 12:19:13 +03:00
|
|
|
import codePush from 'react-native-code-push';
|
2018-10-04 05:18:36 +03:00
|
|
|
import { name as appName } from './app.json';
|
2019-01-05 12:19:13 +03:00
|
|
|
import 'core-js';
|
2018-12-06 15:23:12 +03:00
|
|
|
import 'intl';
|
2018-10-04 05:18:36 +03:00
|
|
|
|
2019-01-05 12:19:13 +03:00
|
|
|
// set check frequency options
|
2019-01-04 12:43:39 +03:00
|
|
|
const codePushOptions = { checkFrequency: codePush.CheckFrequency.ON_APP_START };
|
|
|
|
const eSteemApp = codePush(codePushOptions)(require('./App').default);
|
|
|
|
|
2019-05-11 15:06:11 +03:00
|
|
|
AppCenter.setLogLevel(AppCenter.LogLevel.VERBOSE);
|
|
|
|
|
2019-01-04 12:43:39 +03:00
|
|
|
AppRegistry.registerComponent(appName, () => eSteemApp);
|