microsoft / microsoft/react-native-windows

Support react-native-fs for RNW vNext

Open
#2,829 29 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Deliverable enhancement Extensions Partner: AppConsult Partner: Facebook Partner: Xbox Workstream: Module Support
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Cannot read property 'RNFSFileTypeRegular' of undefined

react-native-fs has a RNFSManager which has some constants and other fairly low level stuff.
There is a /windows module but it is using cs and is designed for RNWcurrent and so RNWvNext and it's use of 'uwp' makes this not work.

https://github.com/itinance/react-native-fs/tree/master/windows/RNFS

Also rn-fetch-blob doesn't have windows support. And it is sorta related to file system things.
https://github.com/joltup/rn-fetch-blob

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the RNFSFileTypeRegular error in a React Native Windows vNext app and compare the react-native-fs windows/RNFS module with the RNWcurrent and RNWvNext UWP setup described in the issue. Review RNFSManager and the related rn-fetch-blob Windows support question, then define the compatibility scope and tests needed to show filesystem support works.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
desktop-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.