wordpress-mobile / wordpress-mobile/WordPress-Android

Audio MIME types not supportive by some File Pickers

Open
#13,792 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Medium [Type] Bug Media
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

That the File Picker on different Android devices and versions behave the same way when the Audio MIME types are passed.

Actual behavior

On most devices eg. Pixel 3, API 30, the System Picker works well with the specific MIME types passed and you are able to select files based on type whether it is video, image, or audio. However, on some devices like OnePlus 7T it's System Picker does not allow all Audio types to be selected. There's a detailed conversation about this on this PR.

Steps to reproduce the behavior
  1. Utilize a device like the OnePlus 7T.
  2. Switch to a PR that has the Audio Block.
  3. Add an Audio Block.
  4. Choose from device.
  5. Notice that not all Audio file types can't be selected.
Tested on OnePlus 7T, WPAndroid https://github.com/wordpress-mobile/WordPress-Android/pull/13612

Contributor guide

Open the contributing guide

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

No source file or test is named. Start by reproducing the Audio Block's device-picker flow on the OnePlus 7T and compare it with the Pixel 3/API 30 behavior, using the linked PR discussion as context. Done means supported audio MIME types can be selected consistently across the affected Android devices and versions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.