2021-08-20 16:25:30 +00:00
|
|
|
// import 'react-native-gesture-handler';
|
|
|
|
// import 'react-native-console-time-polyfill';
|
|
|
|
// import { AppRegistry } from 'react-native';
|
|
|
|
// import { name as appName, share as shareName } from './app.json';
|
|
|
|
|
|
|
|
// AppRegistry.registerComponent(appName, () => require('./app/index').default);
|
|
|
|
// AppRegistry.registerComponent(shareName, () => require('./app/share').default);
|
|
|
|
|
|
|
|
// For storybook, comment everything above and uncomment below
|
|
|
|
import './storybook';
|
2019-03-12 16:23:06 +00:00
|
|
|
|
2019-08-13 13:03:46 +00:00
|
|
|
if (__DEV__) {
|
|
|
|
require('./app/ReactotronConfig');
|
2019-10-02 12:27:40 +00:00
|
|
|
} else {
|
|
|
|
console.log = () => {};
|
|
|
|
console.time = () => {};
|
|
|
|
console.timeLog = () => {};
|
|
|
|
console.timeEnd = () => {};
|
|
|
|
console.warn = () => {};
|
|
|
|
console.count = () => {};
|
|
|
|
console.countReset = () => {};
|
|
|
|
console.error = () => {};
|
|
|
|
console.info = () => {};
|
2019-08-13 13:03:46 +00:00
|
|
|
}
|