LinusU / react-native-get-random-values

A small implementation of `getRandomValues` for React Native
MIT License
350 stars 48 forks source link

TypeError: undefined is not an object (evaluating 'source.length') #58

Open chenweigh opened 8 months ago

chenweigh commented 8 months ago

index.js

/**
 * @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)

IMG_0040