React-native-fs: Images downloaded from url didn't show in album

Created on 7 Sep 2016  路  8Comments  路  Source: itinance/react-native-fs

In Android platform,images downloaded from url appear in files scanner,but don't show in system appliction 'album'.
But sometimes they appear in album after several hours
I consider that it need a broadcast to notice the system it has new files in.
Ask for help @johanneslumpe

Most helpful comment

@saleeh93 @johanneslumpe
PR #155 may help work out this problem.The method scanFile has basically realized my conception

All 8 comments

same problem锛宨s there any method to refresh the album?

+1

same problem, ask for help.@johanneslumpe

@lee1994522 @hkchkc @flowYogi @Really-Abel
Any updates .?

I feel that this is outside of the scope of the library, similar to https://github.com/johanneslumpe/react-native-fs/issues/34

This should be part of a separate library which allows manipulating the assets libraries.

@saleeh93 @johanneslumpe
PR #155 may help work out this problem.The method scanFile has basically realized my conception

Running into this issue also. The PR mentioned above is looking good.

Workaround:

import RNFetchBlob from "react-native-fetch-blob";
...
await RNFetchBlob.fs.scanFile([{ path: imageLocationAndName }]);
Was this page helpful?
0 / 5 - 0 ratings

Related issues

CesarLanderos picture CesarLanderos  路  4Comments

duckmyanmar picture duckmyanmar  路  3Comments

wangfpp picture wangfpp  路  3Comments

onzag picture onzag  路  3Comments

let-aurn picture let-aurn  路  3Comments