You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly I pay your attention, that this issue about trouble shooting topic "get file from assets".
I need to access a file located in the assets folder on an iOS device. Initially, my file was located in the src/assets/react_image.png folder, but I later moved it to the root of the project at ./assets/react_image.png, which did not help.
I would like to understand how I can access files because after exploring the bundle folder, I did not find anything resembling my image.
I have tried different approaches, both with and without wrap, but nothing has helped. Below, I am attaching all the files that should help to understand the problem.
please provide the version of installed library and RN project:
a sample code snippet/repository is very helpful to spotting the problem:
You have to use the correct path. You cannot access the files with a relative path.
You will have to use
ReactNativeBlobUtil.fs.dirs.bundleDir + '/path in the app' when using the library.
Hello!
Firstly I pay your attention, that this issue about trouble shooting topic "get file from assets".
I need to access a file located in the assets folder on an iOS device. Initially, my file was located in the src/assets/react_image.png folder, but I later moved it to the root of the project at ./assets/react_image.png, which did not help.
I would like to understand how I can access files because after exploring the bundle folder, I did not find anything resembling my image.
I have tried different approaches, both with and without wrap, but nothing has helped. Below, I am attaching all the files that should help to understand the problem.
The text was updated successfully, but these errors were encountered: