itinance / itinance/react-native-fs

No proper way for getting sd card data directory path

Open
#363 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hi,
First of all thanks for maintaining this awesome module, I've a application which requires to store files in sd card since internal storage is not enough. ExternalStorageDirectoryPath actually returns internal storage path. I haven't worked much on native android projects but going through docs it seems like sd card storage is called secondary storage device. So is it possible if we can create a function or have a constant which has sd card path if a sd card is mounted or null if no sd card is present . Alternatively, can make a function which replicates getExternalMediaDirs() and returns all possible storage directory paths .

If you are comfortable with the second idea , I can try to write the code and will send a PR.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.