Open pawaom opened 1 year ago
Hi @pawaom,
Thanks for reporting! However, the described issue was not reproducible on our demo-session app. The details of the reproduction:
So this looks like an app specific issue. Unfortunately we can't give 1:1 support for solving app specific issues. We'll leave this issue open for ~2 weeks in case anyone wishes to answer it here. If you think this is a problem with Media library, please narrow down your issue to describe the Media library behaviour that doesn't match your expectations.
thanks for the reply i will check if this is a samsung specific issue, and get back to you, just to clarify did you try the above code I have shared or the mediasession demo code, that code works fine , however the above code which I had found on Stackoverflow which at best can be described as a basic implementation of mediasession causes the issue, I want to know what should we do to show the notification properly on lock screen also, I dont want a app specific help , but the general code that we need to implement the notification properly using media3 do we need to override any specific method
We have referred to this video
https://youtu.be/sTIBDcyCmCg?t=449
and this
Which mentions
For example, a music streaming app using a MediaSessionService would create a MediaNotification that displays the title, artist, and album art for the current song playing alongside playback controls based on your MediaSession configuration.
But the lockscreen notification does not work as per expected behavior ,
Do we need to make some changes , if so , there is no documentation about that.
Lock screen control not showing song details as shown in notification
this is the notification screen
while this is the lockscreen
for the same song
This is the code I am trying , its really a basic implementation of the media3 mediasession
and
What should we do to show the song details on the lock screen also
Detials
Android studio dolphin
Tablet: Samsung Galaxy tab A7 lite Android version 11