You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2022/10/01 01:17:07 UTC

[GitHub] [cordova] breautek commented on issue #334: No option to use MediaStore API

breautek commented on issue #334:
URL: https://github.com/apache/cordova/issues/334#issuecomment-1264185873

   > It really is the way forward for file saving on Android.
   
   That's not entirely accurate. Scoped Storage (And the MediaStore APIs) are for dealing with files that uses the External storage system on android. a Media Store plugin could be used in addition to the file plugin, but it definitely won't replace the file plugin, which can interact with both the internal filesystem as well as the external filesystem. Currently the file plugin handles this through the [Direct File API](https://developer.android.com/about/versions/11/privacy/storage#media-direct-file-native). But I do understand the MediaStore is the recommended approach for interfacing with the external filesystem.
   
   To be clear, I'm not pushing back on the MediaStore API. I'm just asking the _what_ it provides over the File plugin or _why_ it's not practical. For example, how were you providing UI to the user to choose where to save a file before and why doesn't that work now?


-- 
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: commits-unsubscribe@cordova.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org