Re: New shared common SWORD path on Android

Timothy Allen <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <[email protected]>
On 29/10/23 19:16, Tobias Klein wrote:
> What makes it complicated in my case is the following.
>
> Ezra Bible App on Android is a Cordova app. When it comes to 
> permissions, etc. I depend on Cordova Plugins.
>
> The one that I had been using is this:
> https://www.npmjs.com/package/cordova-plugin-android-permissions

It seems like to store files in a shared directory on Android you'll 
need to use a plugin like 
https://www.npmjs.com/package/cordova-plugin-saf-mediastore instead. 
That plugin can ask the user for permission to read and write a 
directory, but it's not at all clear to me if there's a way to list the 
contents of a directory. Obviously it's possible using the native 
Android APIs, but I can't find anyone saying "here's how to manage a 
directory tree from within Cordova", even in the Cordova tech-support 
threads talking about handling files. :(

I appreciate not wanting to dive into yet another language, just to add 
a somewhat niche feature. Thank you for taking the time to respond!


Timothy.

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.