mirror of
https://github.com/standardnotes/mobile.git
synced 2026-02-07 14:32:10 -05:00
26 lines
740 B
JavaScript
26 lines
740 B
JavaScript
import './src/global';
|
|
import 'react-native-gesture-handler';
|
|
import { Client } from 'bugsnag-react-native';
|
|
import { enableScreens } from 'react-native-screens';
|
|
|
|
import { AppRegistry, YellowBox } from 'react-native';
|
|
import { App } from './src/App';
|
|
import { name as appName } from './app.json';
|
|
// TODO: this breaks typescript and has to be fixed
|
|
// import 'style/AndroidTextFix';
|
|
|
|
require('react-native').unstable_enableLogBox();
|
|
|
|
YellowBox.ignoreWarnings([
|
|
'The scalesPageToFit property is not supported when useWebKit = true', // we still want to use this property for Android
|
|
]);
|
|
|
|
enableScreens();
|
|
|
|
if (__DEV__ === false) {
|
|
// eslint-disable-next-line no-new
|
|
new Client();
|
|
}
|
|
|
|
AppRegistry.registerComponent(appName, () => App);
|