Open losh11 opened 4 days ago
This error looks like entire module failed to properly load & link to the TS side; it well may be an error in your app setup, rather than a problem with the library per se. Do you use old or new RN architecture? Does the example app work for you? You don't try to use it alongside the original RNFS library?
I'm unable to get my app running on android, which errors with
Cannot read property 'DocumentDirectoryPath' of undefined
. Currently using the latest build of rnfs:"@dr.pogodin/react-native-fs": "^2.28.0"
.And here's what the code looks like where it errors:
Works as expected on iOS devices, but doesn't work on Android.
Full error message:
App is using latest build of react native. Running on a Samsung S24 Ultra (latest android version).