Title: createFile fails on network content providers · Issue #151 · libsrcdev/shared-storage · GitHub
Open Graph Title: createFile fails on network content providers · Issue #151 · libsrcdev/shared-storage
X Title: createFile fails on network content providers · Issue #151 · libsrcdev/shared-storage
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 nextclou...
Open Graph 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 t...
X 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 t...
Opengraph URL: https://github.com/libsrcdev/shared-storage/issues/151
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"createFile fails on network content providers","articleBody":"First off, thank you for the awesome plugin!\r\n**Describe the bug**\r\nOperations 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 https://github.com/nextcloud/android/issues/8028).\r\n\r\n**To Reproduce**\r\nAttempt to create a file on an external network content provider.\r\n\r\n**Expected behavior**\r\nFiles can be created on network content providers.\r\n\r\n**Smartphone (please complete the following information):**\r\n - Device: Google Pixel 7\r\n - OS: Graphene OS \r\n - Content Provider: Nextcloud\r\n - Version: Android 14\r\n\r\n**Additional context**\r\nI was able to quickly fix the problem on a fork of the plugin by running the API actions in the IO thread (https://github.com/Demizo/shared-storage/commit/636c9e33652da5d3a592dfeca30250ffb81c9d3a)\r\n","author":{"url":"https://github.com/Demizo","@type":"Person","name":"Demizo"},"datePublished":"2024-01-22T15:50:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/151/shared-storage/issues/151"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e16f944-6a8b-acb9-d572-e406a1a48e7a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA4A:38DCC4:2543B02:324DF5B:698DAC6C |
| html-safe-nonce | afa6b260b43c0475f1a8c21251d3ccc3e5284d55e22b1bc019a705ca6562e6fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTRBOjM4RENDNDoyNTQzQjAyOjMyNERGNUI6Njk4REFDNkMiLCJ2aXNpdG9yX2lkIjoiNDI0NjcyMTM2MzE5OTI0MTMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85295db88ea5923f468ba22d2cfe5ff35bbba935a59e645c389766503d6a182d |
| hovercard-subject-tag | issue:2094216986 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libsrcdev/shared-storage/151/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d36cc83a7e33e7b2353d6f71268e1c8af77844239c40d2382fc9e0f87017562/libsrcdev/shared-storage/issues/151 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d36cc83a7e33e7b2353d6f71268e1c8af77844239c40d2382fc9e0f87017562/libsrcdev/shared-storage/issues/151 |
| og:image:alt | 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 t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Demizo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/libsrcdev/shared-storage git https://github.com/libsrcdev/shared-storage.git |
| octolytics-dimension-user_id | 167412007 |
| octolytics-dimension-user_login | libsrcdev |
| octolytics-dimension-repository_id | 423240632 |
| octolytics-dimension-repository_nwo | libsrcdev/shared-storage |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 423240632 |
| octolytics-dimension-repository_network_root_nwo | libsrcdev/shared-storage |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width