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

[Android 11+] Cannot open downloads from the app ("No app installed to play this file" toast) #9771

Closed
6 tasks done
GerardEarley opened this issue Feb 9, 2023 · 21 comments · Fixed by #9850
Closed
6 tasks done
Labels
bug Issue is related to a bug device/software specific Issues that only happen on some devices or with some specific hardware/software

Comments

@GerardEarley
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

v0.25.0

Steps to reproduce the bug

  1. Download any audio from a youtube video in either .m4a or opus
  2. Within the Downloads page tap on the downloaded audio file
  3. A notification appears saying 'No app installed to play this file'

Expected behavior

File should play in assigned player or a notification should appear for a suitable audio player to be chosen

Actual behavior

A notification appears saying 'No app installed to play this file'

Screenshots/Screen recordings

Screenshot_2023-02-09-17-24-01-97_ee8807d2de22f1831269d80920e33a3b

Logs

No response

Affected Android/Custom ROM version

Android 12

Affected device model

Oneplus 10 Plus 5G

Additional information

In v0.24.1 everything works as expected, it was only when I upgraded to v0.25 that the problem manifests.

I tried installing and uninstalled v0.24.1 and v0.25 a numvber of time to test the issue, and I was able to reproduce it every time.

@GerardEarley GerardEarley added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Feb 9, 2023
@GerardEarley GerardEarley changed the title Downloaded audios dont play in v0.25 a notification saying 'No app installed to play this file' is displayed instead. Downloaded audios dont play in v0.25, only a notification saying 'No app installed to play this file' is displayed instead. Feb 9, 2023
@opusforlife2
Copy link
Collaborator

@Stypox Shouldn't #9758 have fixed this?

@opusforlife2 opusforlife2 added device/software specific Issues that only happen on some devices or with some specific hardware/software and removed needs triage Issue is not yet ready for PR authors to take up labels Feb 9, 2023
@Yowlen
Copy link

Yowlen commented Feb 10, 2023

I'm running LineageOS 19.1 (Android 12.1) on a OnePlus Nord N200 and since upgrading to v0.25 last night, I get a similar error when trying to stream videos using an external player. Mine is a full popup instead of a toast notification and it says there's no streaming apps installed and asks to install VLC. Downgrading back to 0.24.1 works just fine with my video players.

@efb4f5ff-1298-471a-8973-3d47447115dc

Got the same error when trying to open a video i downloaded

@ajay230ps
Copy link

Got the same error for all the downloaded videos. Using Evo X ROM, Android 13. Device Redmi K20 Pro.

@GerardEarley GerardEarley changed the title Downloaded audios dont play in v0.25, only a notification saying 'No app installed to play this file' is displayed instead. Downloaded audios dont play in v0.25, only a toast notification saying 'No app installed to play this file' is displayed Feb 12, 2023
@GerardEarley
Copy link
Author

As this error has now been reported on multiple devices, by multiple manufacturers running different versions of Android, I think perhaps the "device/software specific" tag should be removed.

@Yowlen
Copy link

Yowlen commented Feb 12, 2023

So far, out of all the reports that have specified any details about their hardware and software, the one common factor is that the issue affects Android 12+.

And given it was a known issue for Android 12+ prior to the 0.25 release as per #9758 , it seems to be a safe assumption that the patch(es) generated for the other issue report didn't actually fix the problem, at least not entirely.

So unless someone using an earlier version can specify their Android version and confirm it's also happening to them, the "device/software specific" tag seems accurate enough to me since it only seems to affect specific versions of software, i.e. Android 12+.

@AudricV AudricV changed the title Downloaded audios dont play in v0.25, only a toast notification saying 'No app installed to play this file' is displayed [Android 11+] Cannot open downloads from the app ("No app installed to play this file" toast) Feb 12, 2023
@AudricV AudricV self-assigned this Feb 12, 2023
@linucksrox

This comment was marked as duplicate.

@darrellenns

This comment was marked as duplicate.

@AudricV AudricV pinned this issue Feb 14, 2023
@Franky1

This comment was marked as spam.

@Stypox
Copy link
Member

Stypox commented Feb 15, 2023

Does #9817 fix the issue?

@czak
Copy link

czak commented Feb 15, 2023

#9817 fixes the issue for me on Android 11

@Yowlen
Copy link

Yowlen commented Feb 15, 2023

It fixes playing via external video player for me, as well.

@darrellenns
Copy link

#9817 works for me as well.

@JoshuaKimsey

This comment was marked as duplicate.

@AudricV
Copy link
Member

AudricV commented Feb 18, 2023

Could you confirm that #9833, which refactor how external intents are made, fixes the issue? Thank you in advance!

@Yowlen
Copy link

Yowlen commented Feb 18, 2023

#9833 works for me playing videos using an external player and playing downloaded videos.

@MarkoIndaco

This comment was marked as spam.

@brenard
Copy link

brenard commented Mar 12, 2023

This bug is fixed in v0.25.1 for me (Oneplus 7 / Android 12 / OxygenOS). Thanks!

@AudricV AudricV unpinned this issue Apr 4, 2023
@MarkoIndaco

This comment was marked as duplicate.

@Franky1

This comment was marked as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug device/software specific Issues that only happen on some devices or with some specific hardware/software
Projects
No open projects
Status: Done
15 participants