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

[Issue]: MediaPlayer Missing Notification Controls On Android #37

Open
2 tasks done
ambrozichj opened this issue Sep 13, 2024 · 0 comments
Open
2 tasks done

[Issue]: MediaPlayer Missing Notification Controls On Android #37

ambrozichj opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working unverified This issue has not been verified yet

Comments

@ambrozichj
Copy link

ambrozichj commented Sep 13, 2024

Describe the Issue in Detail

When using the Rock:MediaPlayer to play a video, the notification controls ( also called mini player ) don't appear on Android. Tested on latest and older versions of android. Tested on our production app (v5) and on Rock Core ( Orange and Blue App )

On IOS the notification controls show up and work perfectly. On android, the video will continue to play in the background if you switch out of the app, but the notification controls don't show up.

Here is the documentation for the android media controls:
https://developer.android.com/media/implement/surfaces/mobile

Can reproduce in

  • Orange App
  • Blue App

Steps to Reproduce

Go to any page with a Rock:MediaPlayer and play the video, then open the notification shade on your device ( swipe down from the top on android )

Expected Behavior

The notification controls for the media should appear. This works on IOS but not Android.

Actual Behavior

The controls never appear in the notification shade.

Screenshots or Videos

None

Reproduction XAML

<Rock:MediaPlayer Source="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
        ThumbnailSource="https://www.dwellcc.org/GetImage.ashx?guid=184a6fb7-a584-4649-aa71-b358728f371b"
        AutoPlay="false">
        </Rock:MediaPlayer>

Mobile Shell Version

v6

Last Known Working Version

No response

iOS Device Type(s) and iOS Version(s)

None

Android Device Type(s) and Android Version(s)

Android 14, 8.10

@ambrozichj ambrozichj added bug Something isn't working unverified This issue has not been verified yet labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue has not been verified yet
Projects
None yet
Development

No branches or pull requests

1 participant