Open chenweigh opened 8 months ago
/** * @format */ import 'react-native-get-random-values' import { AppRegistry } from 'react-native' import Root from './src/router' import { name as appName } from './app.json' import { CacheManager } from '@georstat/react-native-image-cache' import { Dirs } from 'react-native-file-access' CacheManager.config = { baseDir: `${Dirs.CacheDir}/images_cache/`, blurRadius: 15, cacheLimit: 0, //default:0 maxRetries: 3, //default: 0 retryDelay: 3000, //default: 0 sourceAnimationDuration: 1000, thumbnailAnimationDuration: 1000 } AppRegistry.registerComponent(appName, () => Root)
index.js