buttercup / buttercup-mobile

:iphone: React-Native mobile application for Buttercup
https://buttercup.pw
GNU General Public License v3.0
395 stars 71 forks source link

[Feature] Use document provider instead of browsing for local files only #290

Open lfom opened 2 years ago

lfom commented 2 years ago

Follow up from #273: please add an option to use the native file picker on both iOS and Android, so it is possible to use other remote services like pCloud.

In both Android and iOS, when one installs apps like pCloud, it is possible to browse its files using the system document provider (it does not browse the internal memory, it opens a different interface that lets you browse connected services too). So it would work for both setting a local vault (useful if the user has only one device) and also allow other cloud storage without the need of any extra code in the mobile app itself (just the generic file picker). I think this is the related documentation on Android: https://developer.android.com/guide/topics/providers/document-provider

ldexterldesign commented 1 year ago

👋 https://github.com/buttercup/buttercup-mobile/issues/329