breautek commented on PR #566:
URL: 
https://github.com/apache/cordova-plugin-file/pull/566#issuecomment-2088469850

   > copying file is unseccessful, and this is my code
   
   Because you're working with a document file, you can't use a filesystem API. 
You can use filesystem API for internal storage, but not with files on external 
storage. It looks like you're attempting to move a PDF document from external 
storage into internal storage. It will error on reading a document from the 
external storage path (the `/storage/emulated/0/Documents/` path). This is a 
limitation of Android's Scoped Storage model, which is enforced on API 29 and 
later.
   
   Generally speaking interacting with files on external storage requires using 
a media storage API, which this plugin does not implement. See 
[here](https://www.npmjs.com/search?q=ecosystem%3Acordova%20storage%20access%20framework)
 for a list of plugins that implements the media store API.
   
   I'm locking this thread because an old merged PR is not really a place to 
ask questions or to provide support. If you have further questions, please use 
[Discussions](https://github.com/apache/cordova/discussions) instead.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to