Skip to content

feat: enable auto-sync for file access via Storage Access Framework (SAF).#89

Open
edo-bari-ikutsu wants to merge 1 commit intoopencloud-eu:mainfrom
edo-bari-ikutsu:improvement/document_storage_provider
Open

feat: enable auto-sync for file access via Storage Access Framework (SAF).#89
edo-bari-ikutsu wants to merge 1 commit intoopencloud-eu:mainfrom
edo-bari-ikutsu:improvement/document_storage_provider

Conversation

@edo-bari-ikutsu
Copy link

Summary

This PR implements automatic synchronization when files are accessed via the Storage Access Framework (SAF) by other applications.

Changes

Previously, if a newer version of a file existed on the server, it wouldn't be downloaded automatically when opened via SAF—users had to manually open the OpenCloud app first to trigger a sync. This PR ensures that users always receive the latest version of a file when accessing it through SAF.

Testing

  • Verified that the latest file is automatically downloaded when opened by external apps.
  • Tested the following scenarios:
    • Local file does not exist (initial download).
    • Local file is already up to date.

@guruz guruz self-requested a review January 26, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant