-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
16 lines (13 loc) · 709 Bytes
/
Copy pathindex.js
File metadata and controls
16 lines (13 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { LogBox } from "react-native";
import { registerRootComponent } from "expo";
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.',
'SafeAreaView has been deprecated and will be removed in a future release.',
// Dev-client only: Expo auto-activates KeepAwake before the Android Activity
// is attached, rejecting with this message. Harmless — does not affect prod.
'ExpoKeepAwake.activate',
'The current activity is no longer available',
]);
import App from "./App";
registerRootComponent(App);