Skip to content

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

Open
@chenweigh

Description

@chenweigh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions