itinance / itinance/react-native-fs
Create new constant path for databases
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I needed to download a sqlite database locally so I used the DocumentDirectoryPath but it wouldnt work on Android, worked fine on iOS. I finally figured out that I needed to use the databases folder so I currently have to do something like DocumentDirectoryPath.replace('files', 'databases'). Would be nice to add a new constant for the databases directory.
https://www.dropbox.com/s/77tv11el4ax2zw8/Screenshot%202018-10-29%2014.03.10.png?dl=0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.