Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createFile fails on network content providers #151

Open
Demizo opened this issue Jan 22, 2024 · 0 comments
Open

createFile fails on network content providers #151

Demizo opened this issue Jan 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Demizo
Copy link

Demizo commented Jan 22, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant