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

   Under the scoped storage model, which is effective since API 29 (However 
existing apps could opt out untli API 30), permissions are not needed to write 
to external storage but you are limited to files that you have created only.
   
   If the file already exists, it must be a file created by your app to be 
writable. If the file is owned by another app, then writing to it is not 
possible with the File API. This is a restriction at the native File API level.
   
   Generally speaking if you need to interact with the external file system, 
you should probably do so via a 
[MediaStore](https://www.npmjs.com/search?q=ecosystem%3Acordova%20storage%20access%20framework)
 plugin instead. At the native level, the MediaStore API is the replacement, 
which a MediaStore plugin would interface with.


-- 
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: [email protected]

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