zhanghai / zhanghai/MaterialFiles

Folders are shared with strange Uri

Open
#1,470 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Files are shared perfectly to other apps.

But sharing a Folder sends a content uri with the mime type application/octet-stream. This cannot accessed with any use by other apps. It should be an accessible Uri with the mime type for folders e.g vnd.android.document/directory.
This Uri should be accessible by foreign apps to list and (read)access the content of the folder.

Alternatively the app could send a list of uris of the folder content

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the folder-sharing entry point and reproduce the issue by sharing a folder to another Android app. Check the URI and MIME type received by the target app; done means the shared folder URI can be used by another app to list and read its contents, or the issue’s alternative URI-list behavior is implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.