Skip to content

Navigation Menu

Sign in
Sign up

createFile fails on network content providers #151

Open
Labels
bugSomething isn't working

Description

First off, thank you for the awesome plugin!
Describe the bug
Operations that require network calls (i.e. createFile on an external content provider) fail due to Android blocking network calls on the main thread. (If curious see nextcloud/android#8028).

To Reproduce
Attempt to create a file on an external network content provider.

Expected behavior
Files can be created on network content providers.

Smartphone (please complete the following information):

  • Device: Google Pixel 7
  • OS: Graphene OS
  • Content Provider: Nextcloud
  • Version: Android 14

Additional context
I was able to quickly fix the problem on a fork of the plugin by running the API actions in the IO thread (Demizo@636c9e3)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /