newhinton / Round-Sync

An android cloud file manager, powered by rclone. Visit https://roundsync.com for more information!
https://roundsync.com
GNU General Public License v3.0
1.31k stars 51 forks source link

`local-saf` and `local` remotes do not show up as remotes with Content Provider Preview enabled #302

Open schklom opened 1 month ago

schklom commented 1 month ago

What version of Round Sync are you using (About -> App version)?

2.5.6

What is your Android version, phone model and manufacturer?

Android 15, Google Pixel 6a

This also happened on Android 14

Which steps are required to reproduce this issue?

  1. Install Shelter, create a Work Profile, install Round-Sync in it
  2. Open Shelter, enable File-Shuttle (this lets the default Files app access files of the Owner/Work Profile from the Work/Owner profile)
  3. In Round-Sync in the Work Profile, Settings > File Access > enable SAF Client Preview, and add the Shelter location (this should add net.typeblog.shelter.documents (/storage/emulated/0))
  4. A Remote called local-saf has been created
  5. Enable Content Provider Preview in settings
  6. Open the default Files app
  7. Select Round Sync in the left menu with all locations
  8. local-saf does not appear. "0 Remotes available"

Other remotes appear correctly. This only happens with local and local-saf remotes.

Extra details about my usecase

The system backup app Seedvault lets me select a Round Sync remote as a backup destination. I setup a remote in Round Sync on my Work Profile that points to my main Profile (via Shelter). I want Round-Sync to let me access it from the Content Provider Preview, in order to backup my Work Profile to a destination on my main Profile (via Shelter and Round Sync).

Please also enable rclone logging (Settings > Logging > Log Rclone errors). You're going to need the log for the last question.

What is your configuration (rclone.conf)?

[local-saf]
type = webdav
user = dav
pass = xxxxxxxxxxxxxxxxx
url = http://localhost:40404/

Does the same issue also occur when using the same configuration on a PC or in Termux?

Not applicable