-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
20 lines (17 loc) · 703 Bytes
/
Copy pathindex.js
File metadata and controls
20 lines (17 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
* @format
*/
import {AppRegistry, YellowBox} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
// console.ignoredYellowBox = [
// 'AsyncStorage has been extracted from react-native core',
// ]
// YellowBox.ignoreWarnings([
// 'VirtualizedLists should never be nested inside plain', // Control_2.js: FlatList
// 'AsyncStorage has been extracted from react-native core', // AsyncStorage will be removed
// 'Slider has been extracted from react-native core', // Slider will be removed
// // '',
// ]);
console.disableYellowBox = true // 关闭全部黄色警告,应用发布
AppRegistry.registerComponent(appName, () => App);