-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.js
28 lines (24 loc) · 878 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @format
*/
import { decode } from 'base-64';
global.atob = decode;
import 'react-native-reanimated';
import 'react-native-gesture-handler';
import './shim';
import { AppRegistry, Text as NativeText } from 'react-native';
import 'react-native-get-random-values';
import { Text, Input } from 'native-base';
import App from './App';
import { name as appName } from './app.json';
import { enableAndroidFontFix } from './AndroidFontFix';
import { initSentrySDK } from 'src/services/sentry';
initSentrySDK();
enableAndroidFontFix();
Text.defaultProps = Text.defaultProps || {};
Text.defaultProps.allowFontScaling = false;
Input.defaultProps = Input.defaultProps || {};
Input.defaultProps.allowFontScaling = false;
NativeText.defaultProps = NativeText.defaultProps || {};
NativeText.defaultProps.allowFontScaling = false;
AppRegistry.registerComponent(appName, () => App);