mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +03:00
16 lines
539 B
JavaScript
16 lines
539 B
JavaScript
import { AppRegistry } from 'react-native';
|
|
import AppCenter from 'appcenter';
|
|
import codePush from 'react-native-code-push';
|
|
import { name as appName } from './app.json';
|
|
import 'core-js';
|
|
import 'intl';
|
|
import 'intl/locale-data/jsonp/en-US';
|
|
|
|
// set check frequency options
|
|
const codePushOptions = { checkFrequency: codePush.CheckFrequency.ON_APP_START };
|
|
const eSteemApp = codePush(codePushOptions)(require('./App').default);
|
|
|
|
AppCenter.setLogLevel(AppCenter.LogLevel.VERBOSE);
|
|
|
|
AppRegistry.registerComponent(appName, () => eSteemApp);
|