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

Add function to get local image file uri from disk cache. #166

Open
banli17 opened this issue Mar 15, 2018 · 5 comments
Open

Add function to get local image file uri from disk cache. #166

banli17 opened this issue Mar 15, 2018 · 5 comments
Labels
feature A new feature to add.

Comments

@banli17
Copy link

banli17 commented Mar 15, 2018

CameraRoll.saveToCameraRoll can save image to local , but android need a URI, such as "file:///sdcard/img.png"。
can react-native-fast-image get this uri? like react-native-img-cached

@tonyhb
Copy link

tonyhb commented Mar 23, 2018

It can on master. @DylanVann can we get a 4.0.1 with this in? I have to use 3bcb02219c75195fc69cf6cdff9faebedae9338e in my package.json right now.

Thanks :)

@DylanVann
Copy link
Owner

DylanVann commented May 1, 2018

In the case of file: or content: urls FastImage will fall back to using Image. This is included in the current version on npm, v4.0.8.

edit: oh, I think that's not actually what you want. @tonyhb that should work for you though.

I can look into providing this. PRs are welcome.

@DylanVann DylanVann reopened this May 1, 2018
@DylanVann DylanVann changed the title please add a function get local uri on android May 1, 2018
@DylanVann DylanVann added the feature A new feature to add. label May 1, 2018
@bichocj
Copy link

bichocj commented May 25, 2018

Thanks; this feature is I was looking for; thanks in advance

@nes123
Copy link

nes123 commented Sep 20, 2018

will be great to have this feature

@tryanbot
Copy link

anyone know is this feature finally released or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to add.
6 participants