-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
37 lines (33 loc) · 1.28 KB
/
index.js
File metadata and controls
37 lines (33 loc) · 1.28 KB
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
29
30
31
32
33
34
35
36
37
/**
* @format
*/
import 'node-libs-react-native/globals';
import 'react-native-url-polyfill/auto';
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import {LogBox} from 'react-native';
import './globals';
import {log} from './src/utils/log';
// import RNFS from 'react-native-fs';
LogBox.ignoreLogs(['new NativeEventEmitter']); // Ignore log notification by message
LogBox.ignoreAllLogs();
AppRegistry.registerComponent(appName, () => App);
// log.debug('debug~debug~debug~debug~debug~');
// log.info('info~info~info~info~info~');
// log.warn('warn~warn~warn~warn~warn~');
// log.error('error~error~error~error~error~');
// console.log(RNFS.CachesDirectoryPath);
// console.log(RNFS.ExternalCachesDirectoryPath);
// console.log(RNFS.DownloadDirectoryPath);
// console.log(RNFS.DocumentDirectoryPath);
// console.log(RNFS.ExternalDirectoryPath);
// console.log(RNFS.ExternalStorageDirectoryPath);
// console.log(RNFS.TemporaryDirectoryPath);
// // /data/user/0/com.seedao.app/cache
// // /storage/emulated/0/Android/data/com.seedao.app/cache
// // /storage/emulated/0/Download
// // /data/user/0/com.seedao.app/files
// // /storage/emulated/0/Android/data/com.seedao.app/files
// // /storage/emulated/0
// // /data/user/0/com.seedao.app/cache