react-native-fs
react-native-fs copied to clipboard
Not working on react-native: 0.65.1
The title says it all, when I run the basic example in latest react native 0.65.1 I get the following error:
ERROR TypeError: undefined is not an object (evaluating 'path.startsWith')
This error is located at:
in App (at renderApplication.js:48)
in RCTView (at View.js:32)
in View (at AppContainer.js:106)
in RCTView (at View.js:32)
in View (at AppContainer.js:133)
in AppContainer (at renderApplication.js:41)
in gitKeep(RootComponent) (at renderApplication.js:57)
ERROR TypeError: undefined is not an object (evaluating 'path.startsWith')
This error is located at:
in App (at renderApplication.js:48)
in RCTView (at View.js:32)
in View (at AppContainer.js:106)
in RCTView (at View.js:32)
in View (at AppContainer.js:133)
in AppContainer (at renderApplication.js:41)
in gitKeep(RootComponent) (at renderApplication.js:57)
For clarification this is the example from Basic Usage: Read filesystem.
Same error with react native 0.64.0 package.txt But other examples works
change RNFS.MainBundlePath to RNFS.DocumentDirectoryPath