owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.85k stars 3.06k forks source link

[BUG] Android Storage Access Framework implementation potentially incomplete #4390

Open GZEI opened 7 months ago

GZEI commented 7 months ago

Actual behaviour

In some apps, owncloud does not show up as storage option e.g. Aegis (a 2FA app for android, it makes it unusable as automatic backup target).

Expected behaviour

Owncloud should show up as storage target similar to the seafile or netcloud app (google drive not tested).

Maybe this could be linked to the missing implementations of certain intents which are needed for this (e.g. https://github.com/beemdevelopment/Aegis/issues/258#issuecomment-570906665)

Steps to reproduce

  1. Install owncloud App
  2. Try to use owncloud as storage target by apps (e.g. for automatic Aegis backups)

Can this problem be reproduced with the official owncloud server? (url: https://demo.owncloud.org, user: test, password: test)

Yes

Environment data

Android version: 14

Device model: Multiple Pixel Phones / Samsung Tablets

Stock or customized system: Stock

ownCloud app version:

4.2.1

ownCloud server version:

-

Logs

Web server error log

not relevant

ownCloud log (data/owncloud.log)

not relevant

jesmrec commented 7 months ago

This is a long requested feature, more than "backup for an app" should be "backup for any folder in the device". The idea totally makes sense but has many sync regards that needs deep research to avoid non-desirable effects.

Thanks a lot for your suggestion. Let's keep this open to share more thoughts.

GZEI commented 7 months ago

I think this is a separate topic from generic folder sync/backup on mobile since it only involves interfaces to owncloud. Supporting storage interfaces like the nextcloud app does would allow broader integration ability in other apps such as file managers without having to implement full folder sync.