I have a folder "Images" in my project
I am trying to access an image like this ProjectRoot / App / Images / image.png
on iOS I can access it using:
RNFetchBlob.fs.dirs.MainBundleDir + 'assets/App/Images/image.png'
What will be the Android way? I tried DocumentDirand MainBundleDir, I had only "the file does not exist"
I tried RNFetchBlob.fs.asset('image.png')and RNFetchBlob.fs.asset('path/to/image.png')was not successful
I took out all the files and directories that I have access to, and, unfortunately, I cannot find them
Help is needed.
It is suggested that you can add
aaptOptions, noCompress, to prevent the merging of assets in the folder with the Android files in the kit, however, they go beyond the folder structure of the Android project.
"-": "0,49.1",
"response-native-fetch-blob": "0.10.8",
Android:
buildToolsVersion "23.0.1"
targetSdkVersion 23