Skip to content

[BUG] MediaElement Notification Prompt Overrides and Alters Push Notification Settings on Android  #2364

@vikher

Description

@vikher

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

The MediaElement component triggers a notification prompt asking for permission to send notifications, even when the user is only trying to play a video.
The prompt causes confusion, as selecting "Allow" or "Don't Allow" unintentionally modifies the push notification settings, which is unrelated to video playback.
Image

Expected Behavior

The MediaElement should not trigger a notification prompt if it is unrelated to video playback.
The notification prompt should not affect or change the notification settings in any way.
There should be a way to customize or disable this prompt for better user experience.

Steps To Reproduce

  1. Start the app and navigate to a page with a MediaElement component (video player).
  2. Attempt to play a video.
  3. The notification prompt appears, asking for permission to send notifications.
  4. Selecting either "Allow" or "Don't Allow" affects push notification settings, which could confuse the user.

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui/tree/main/samples

Environment

- .NET MAUI CommunityToolkit:9.1.0
- OS:Android
- .NET MAUI:8.9.92

Anything else?

references the existing discussion on GitHub to provide more context and indicate that no attention has been given to the issue so far. This should help bring awareness to the problem and possibly generate more responses or solutions.
#2074

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds discussionDiscuss it on the next Monthly standup📽️ MediaElementIssue/PR that has to do with MediaElement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions