forked from daily-demos/daily-bots-react-native-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
21 lines (18 loc) · 854 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Disabling the logs from react-native-webrtc
import debug from 'debug';
debug.disable('rn-webrtc:*');
// Ignoring the warnings from react-native-background-timer while they don't fix this issue:
// https://github.com/ocetnik/react-native-background-timer/issues/366
import { LogBox } from 'react-native';
LogBox.ignoreLogs([
"`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.",
"`new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method."
]);
// Enable debug logs
/*window.localStorage = window.localStorage || {};
window.localStorage.debug = '*';
window.localStorage.getItem = (itemName) => {
console.log('Requesting the localStorage item ', itemName);
return window.localStorage[itemName];
};*/
export { default } from './src/App';