Skip to content

Regression in 3.34.0.1: Android Storage Access Framework (DocumentProvider) cannot create files ("Unable to save document") #17336

Description

@pierzale

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Open an email with a PDF attachment.
  2. Tap "Save".
  3. Choose "Save to".
  4. Select Nextcloud from the Android document picker.
  5. Choose any folder.
  6. Tap Save.

Regression

Version 3.34.0.0 (June 8, 2026): OK

Version 3.34.0.1 (June 24, 2026): BROKEN

Downgrading from 3.34.0.1 to 3.34.0.0 immediately restores the ability to save files through Android's "Save to" dialog without any other changes.

Expected behaviour

The PDF should be saved into the selected Nextcloud folder.

Actual behaviour

Image Image

Android displays:

"Unable to save document."

The file is not created.

Android version

16

Device brand and model

Motorola Edge 50 Pro

Stock or custom OS?

Stock

Nextcloud android app version

34.0.1

Nextcloud server version

34.0.1

Using a reverse proxy?

No

Android logs

No response

Server error logs

Additional information

  • Uploading files directly from the Nextcloud app works correctly.
  • Browsing files inside the Nextcloud app works correctly.
  • The problem only occurs when another app uses the Android Storage Access Framework (DocumentProvider).
  • Clearing app data/cache and reinstalling the app does not help.
  • Granting "Manage all files" permission does not help.
  • Downgrading to the previous Android app version fixes the problem immediately.

This appears to be a regression in the DocumentProvider implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions