ecency-mobile/index.js

21 lines
660 B
JavaScript
Raw Normal View History

import { AppRegistry, LogBox } from 'react-native';
2019-05-11 15:06:11 +03:00
import AppCenter from 'appcenter';
import { name as appName } from './app.json';
2024-03-30 00:19:41 +03:00
import 'react-native-url-polyfill/auto';
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';
import 'react-native-get-random-values';
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
// ignore warnings
LogBox.ignoreLogs(['Require cycle:', 'Remote debugger']);
2020-07-17 16:39:59 +03:00
AppRegistry.registerComponent(appName, () => EcencyApp);