Skip to content

Blazor Maui : "<audio />" tag doesn't show screen lock notification on Android #7895

@jfversluis

Description

@jfversluis

Issue moved from dotnet/maui#11675


From @abdu292 on Saturday, November 26, 2022 4:11:43 PM

Description

It appears that the lock screen notification is not displayed on Android when audio is played. However, playing an audio on a web browser using audio tag will give you the notification on Android. Should this be default to Maui Blazor app as the framework uses a web browser to play the audio?

Steps to Reproduce

Repro:

ReproPlaybackNot.zip

On windows it shows a media playback notification bar, but not on Android.

Link to public reproduction project repository

https://github.com/dotnet/maui/files/10096587/ReproPlaybackNot.zip

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Tested on Android 12 Emulator

Did you find any workaround?

Not really.

Relevant log output

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssues that need to be assigned.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions