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

Detect SDK 33 or higher to support Android 13 media player #23

Open
user340q opened this issue Dec 1, 2022 · 5 comments
Open

Detect SDK 33 or higher to support Android 13 media player #23

user340q opened this issue Dec 1, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@user340q
Copy link

user340q commented Dec 1, 2022

The built in Media Player on the notification screen of Android 13 isn't activated when playing an audio file, and no notification shows either, so the audio file will play but can't be controlled.

I found Little Music Player notification doesn't show up on Android 13, possibly since it needs to be requested?

I haven't messed with Android coding in quite a long time, but I'll see if I can fork the project and build a version of the app which checks for SDK 33 or higher and uses the Android 13 media player.

@wmartinmimi
Copy link
Collaborator

I see.

I'll try fixing too then.

Thanks for reporting!

@wmartinmimi wmartinmimi added the bug Something isn't working label Dec 3, 2022
@wmartinmimi
Copy link
Collaborator

Should be fixed in this release. Can you double check for me?

@wmartinmimi
Copy link
Collaborator

Closed it because I assumed it fixed.
Thought it might be nice to explain why I closed it.
If the issue is still here, feel free to reopen it.

@user340q
Copy link
Author

Hey there,
I am sorry for the delayed response (been feeling under the weather).
I tried the new release on F-Droid and the notification does appear thanks to the new button to grant notification permission. :)
However, it still doesn't use the Android 13 media player - it's just the plain Little Music Player notification, as one would see in older Android versions too.

@wmartinmimi wmartinmimi reopened this Dec 11, 2022
@wmartinmimi
Copy link
Collaborator

I have reopened the issue, since I haven't solved it yet. Sorry...

It seems that there is a special notification style that I didn't use. Once I learnt it, I will add it into the music player.

Thank you for telling me!

Reference for self:
Notification.MediaStyle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants