-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RNFetchBlob.DocumentDir #244
Comments
I fixed this by following the instructions on manually linking project rather running react-native link |
i tried it too but the issue is still exists. |
had this issue because i forgot to rebuild the ios app. Instead was just refreshing simulator but link had added packages so i needed to rebuild and relaunch. |
I have same issues on ios. |
the automatical linking doesn't work for me. https://github.com/hsnMoghadasi/rn-fetch-blob#user-content-installation |
Maybe it has to be |
This fixed it for me when I ran into this issue on |
For me solution was |
All the solution is for ios, what about the people using react native on Windows. Any suggestions. |
in Android->MainApplication.java add these 2 if you are using both after linking..
|
* Additional parameter for androiddownloads to enforce the downloaded file being added to the downloads collection resolves joltup#247 resolves joltup#248 resolves joltup#245 resolves joltup#244 resolves joltup#236 Merge branch 'develop'
* Additional parameter for androiddownloads to enforce the downloaded file being added to the downloads collection resolves joltup#247 resolves joltup#248 resolves joltup#245 resolves joltup#244 resolves joltup#236 Merge branch 'develop'
#package.json
{
"name": "fante",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"native-base": "^2.8.1",
"react": "16.6.0-alpha.8af6728",
"react-native": "0.57.4",
"react-native-extra-dimensions-android": "^0.22.0",
"react-native-router-flux": "^4.0.6",
"react-native-wallpaper-manager": "^0.3.16",
"rn-fetch-blob": "^0.10.13"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.49.0",
"react-test-renderer": "16.6.0-alpha.8af6728"
},
"jest": {
"preset": "react-native"
}
}
i just install the rn-fetch-blob and import it in to the component and it gives me the error
like undefined is not an object RNFetchBlob.DocumentDir.
could you please help me to figure out this bug.
The text was updated successfully, but these errors were encountered: