wkh237/react-native-fetch-blob

android err!!!!RNFetchBlob.DocumentDir!!undefined is not an object

Opened this issue ยท 6 comments

package.json
"react-native-fetch-blob": "^0.10.8",
"react-native-pdf": "^3.0.15",

In my react native app, IOS works fine, but in the android app, undefined is not an object rnfetchblog.documentdir. I have checked many issues, but I haven't seen a clear solution

Just started getting this issue for no reason.

Also getting this error

I'm seeing the opposite - getting this error on iOS, but it works on Android for me

this solved mine.
My case is integrating RN project into an existing project. So react-native link was not an option for me.

#706 (comment)

Like @kevinNejad said, just run react-native link react-native-fetch-blob.

@Jobel91 this is not worked for me I tried manual config in XCode also but didn't work :(