Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

FileSystem SDCard constant on Android is undefined #174

Closed
@camlahoud

Description

@camlahoud

RNFB: 0.9.6
RN: 0.33.0

RNFetchBlob.fs.dirs.SDCardDir is undefined since the native class exposes the constant as SDCard, but the JS code reads SDCardDir

RNFetchBlobFS.java (line: 195)
res.put("SDCard", Environment.getExternalStorageDirectory().getAbsolutePath());

fs.js (line 32)
SDCardDir : RNFetchBlob.SDCardDir

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions