OxygenCobalt / Auxio

A simple, rational music player for android
GNU General Public License v3.0
2.19k stars 151 forks source link

Add choice to request notification permissions #904

Open KigenJaeger opened 3 weeks ago

KigenJaeger commented 3 weeks ago

Describe the Bug/Crash

My phone is a vivo, and there is no music control bar in the app's notification pull-down, I hope to add this feature.

Describe the intended behavior

i just want a music control bar in the app's notification pull-down

What android version do you use?

Android 14

What device model do you use?

Iqooz9x

Provide a sample file

微信图片_20241030192015 微信图片_20241030192020

Bug report

may be

Duplicates

OxygenCobalt commented 3 weeks ago

Does any other player work @KigenJaeger?

KigenJaeger commented 3 weeks ago

还有其他播放器吗@KigenJaeger?

I do have other players, and they ask for notification permissions when they are used.

OxygenCobalt commented 3 weeks ago

I see @KigenJaeger, usually Android ROMs are not supposed to check for these permissions for media notifications, but I guess your phone is the exception. Will probably just add a setting item that requests the permission given that I would need a better on-boarding flow to get the notification permission to work in the main UI.

KigenJaeger commented 2 weeks ago

I see @KigenJaeger, usually Android ROMs are not supposed to check for these permissions for media notifications, but I guess your phone is the exception. Will probably just add a setting item that requests the permission given that I would need a better on-boarding flow to get the notification permission to work in the main UI.

ohhhhh,sir.I noticed that when I manually enable notification permissions, the control bar appears. I hadn’t realized this before because I used other players where the notification permissions would automatically turn off after refreshing each time. So, I assumed this app worked the same way. Sorry about that!

KigenJaeger commented 2 weeks ago

Is there a way to prevent Auxio music from being interrupted when playing other videos or music?

OxygenCobalt commented 2 weeks ago

No @KigenJaeger, in general I follow an ethos of making sure Auxio plays with android system expectations as closely as possible (without destroying UX, that is), so I follow the audio focus expectations that the android system expects and don't allow it to be configurable. It makes the app far more stable in a lot of cases, especially since the system can do unpredictable things if I don't play along. Sorry.