itinance / itinance/react-native-fs

Lower case is needed for camera file locations: Could not get access to Photos in Android (Solved).

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

Description

I've been trying every possible way to access the directories where my photos are stored in Android 6.0. I'm assuming that this is a permissions problem as I get the "Attempt to get length of null array" error.

The android phone stores local files in /storage/emulated/0/DCIM/Camera directory. Stores external images to /sdcard/DCIM/Camera. I am able to access these directories through adb shell (ls -l and see the files, but when accessed by the RNFS, again get the Attempt error.

I use this module all the time, have no problem accessing any files in the directories controlled by the application.

Is this an Android 6 problem, or is there any way to access these files?

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.