ecency-mobile/index.js

15 lines
500 B
JavaScript
Raw Normal View History

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';
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';
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);