2022-09-28 09:50:02 +03:00
|
|
|
import { AppRegistry, LogBox } from 'react-native';
|
2019-05-11 15:06:11 +03:00
|
|
|
import AppCenter from 'appcenter';
|
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';
|
2022-10-17 09:28:45 +03:00
|
|
|
import 'intl/locale-data/jsonp/en-US';
|
2018-10-04 05:18:36 +03:00
|
|
|
|
2019-01-05 12:19:13 +03:00
|
|
|
// set check frequency options
|
2020-07-17 16:39:59 +03:00
|
|
|
const EcencyApp = require('./App').default;
|
2019-01-04 12:43:39 +03:00
|
|
|
|
2019-05-11 15:06:11 +03:00
|
|
|
AppCenter.setLogLevel(AppCenter.LogLevel.VERBOSE);
|
|
|
|
|
2022-09-29 12:25:49 +03:00
|
|
|
// TODO Remove ignoreLogs when referenced issue is fixed properly
|
|
|
|
// ref: https://github.com/ecency/ecency-mobile/issues/2466
|
2022-09-28 09:50:02 +03:00
|
|
|
// ignore warnings
|
|
|
|
LogBox.ignoreLogs(['Require cycle:', 'Remote debugger']);
|
|
|
|
|
2020-07-17 16:39:59 +03:00
|
|
|
AppRegistry.registerComponent(appName, () => EcencyApp);
|