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/09/30 17:07:05 UTC

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

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

   > > but now with scoped storage it is not practical if I want to allow the user to choose where they want to save the file.
   > 
   > Why isn't it practical? Scoped storage did add some restrictions, such as making the external root directory (either sdcard or emulated) an non-writable path, but apps can still write to the predefined folders such as external Pictures, Audio, etc.
   > 
   > You can also read files from external storage that was written by the app. Reading files written by other apps still requires the `READ_EXTERNAL_STORAGE` permission, which cordova-plugin-file handles.
   
   I created a new plugin simply because that's faster to do, https://github.com/customautosys/cordova-plugin-saf-mediastore
   
   I think we should consider making Mediastore / SAF a core part of Cordova Android. It really is the way forward for file saving on Android.


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