Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When you start MediaElement the buttons on API level 32 and below do not behave as expected.
Expected Behavior
When you click on Pause/Play it should not just pause but also update the notification icon with current status. It does not. The button does not change if the first pause/play cycle is started from the notification tray. If you start from the player it works fine afterwards.
Steps To Reproduce
- Open and run sample from repo.
- Navigate to MediaElement page.
- Click on pause in notification tray before doing anything on page.
- Notice that the icon does not update/change.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
- .NET MAUI CommunityToolkit: 9.0.2
- OS: All
- .NET MAUI: 8.0.61
- .NET Maui CommunityToolkitMediaElement: 4.0.1
Anything else?
Issue is caused by a combination of threading and string interpolation. Fix incoming.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When you start MediaElement the buttons on API level 32 and below do not behave as expected.
Expected Behavior
When you click on Pause/Play it should not just pause but also update the notification icon with current status. It does not. The button does not change if the first pause/play cycle is started from the notification tray. If you start from the player it works fine afterwards.
Steps To Reproduce
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
Anything else?
Issue is caused by a combination of threading and string interpolation. Fix incoming.