Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on the snack.expo.io platform #162

Open
Angelk90 opened this issue May 9, 2019 · 1 comment
Open

Not working on the snack.expo.io platform #162

Angelk90 opened this issue May 9, 2019 · 1 comment

Comments

@Angelk90
Copy link

Angelk90 commented May 9, 2019

Hi @kfiroo , I wanted to use the module but it looks like it doesn't work on expo.

Error:

Device: (1053:881) undefined is not an object (evaluating 'M.DocumentDir')
  Evaluating module://react-native-cached-image.js
  Evaluating module://App.js.js
  Loading module://App.js

Link: https://snack.expo.io/SyA7hOW24

P.s.
Is it possible to use it as a video .mp4 cache?

@hustlercoder
Copy link

I think this can be related to the fact that the fetch-blob library is not supported anymore by the official react native but it became part of the comunity ...so maybe the api has changed and the library try to call the old one.
https://github.com/joltup/rn-fetch-blob you can try install this and link it to the project and try again maybe with the jetifier if you have the androidx support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants