itinance / itinance/react-native-fs

Android readDirAssets is failing with { [RangeError: Invalid Date] line: 14, column: 49 }

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

Description

The problem seem to come from readDirAssets that does not set the `mtime` property (as readDir does).

By putting the `mtime` to 0 with `fileMap.putInt("mtime", (int)0);` l289 in RNFSManager.java, I could list an asset directory.

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.