breautek commented on issue #408:
URL: 
https://github.com/apache/cordova-plugin-file/issues/408#issuecomment-667091092


   That's interesting... `fs.root` appears to return a directory that looks 
something like: `file:///data/user/0/<app-id>/files/files/` and that should 
still work I think. `/data/user/0/<app-id>` I believe is a symlink to 
`/data/data/<app-id>/`.
   
   When I use the `dataDirectory` method like yours, then the file path 
becomes: `file:///data/user/0/<app-id>/files/`
   
   Perhaps `files/files/` is not created yet?
   
   I tested the original code that produced the error for you on my android 10 
device and it worked for me, but my app ensures that `files/files/` directory 
is created (cause that is where we actually store our files).
   
   This is starting to look less like a scoped storage issue and more like 
something is just not being initialised properly issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to