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
It's more like a question rather than an issue.
I created a file using react-native-fs and want to read it at native module using objective c.
In my case the file path is:
/var/mobile/Containers/Data/Application/8BDBB76C-A803-4F75-88A7-77DFFBCF8388/Documents/test.md
[[NSFileManager defaultManager] fileExistsAtPath:filepath]
I tried to access it from ios native module with this file path but not succeed, even with "file://" prefix
What is the correct filePath format?
The text was updated successfully, but these errors were encountered:
Are you reading file in the same session or after app restarts?
not sure this is the actual case but may be good to know that you should never store absolute paths for your files since they will be different every time you start the app: https://stackoverflow.com/a/27443165
It's more like a question rather than an issue.
I created a file using react-native-fs and want to read it at native module using objective c.
In my case the file path is:
/var/mobile/Containers/Data/Application/8BDBB76C-A803-4F75-88A7-77DFFBCF8388/Documents/test.md
[[NSFileManager defaultManager] fileExistsAtPath:filepath]
I tried to access it from ios native module with this file path but not succeed, even with "file://" prefix
What is the correct filePath format?
The text was updated successfully, but these errors were encountered: