meenbeese / Chronos

A simple alarm clock focused on simplicity, usability and modern design.
Apache License 2.0
66 stars 2 forks source link

[BUG] Missing permission for Android 14 #6

Closed HarriBuh closed 8 months ago

HarriBuh commented 9 months ago

The app does not ask for the needed permission "music and audio" on Android 14, which is necessary for the alarms to work (the next screenshot was made after I manually set the allowance).

Screenshot_20240226-211408.png

Because of this issue, I'm pretty sure that the app will always reset (= gray out) the sound alarm on saved alarms (the following screenshot does show the working sound alarm, but should be used for reference). There still may be another reason for this behaviour, but it DOES happen anyway.

markup_obscura1708978610155.jpg

meenbeese commented 9 months ago

Thanks, I will look into this issue.

HarriBuh commented 9 months ago

Alright, granting the permission manually did NOT solve the issue. After a reboot of my phone, the sound alarm reset themselves again. They are grayed out again, so I had to re-enable them again. markup_1000006015.jpg

Screenshot_20240227-105127.png

ok-ttc commented 9 months ago

I cannot set ringtones in the settings (defaults). I can set the ringtone in the alarm itself, but it doesn't actually play when the time comes.

In the settings it never shows what I've chosen and in the alarm it shows it but doesn't play the ringtone when the alarm goes off.

Granting the "Music and Audio" permission manually doesn't seem to help, although I can play the alarm in the preview in the picker regardless of this permission.

m0yP commented 8 months ago

Same here. Running Android 14 Pixel stock ROM.

No matter what alarm you aelect in settings, it will go to none.

Alarms do vibrate and wake up screen, though. We're just missing sound.

Screenshot_20240309-190435

graphixillusion commented 8 months ago

I have the same problem under Android 9. The permission's section is grayed out and in my case i have no sound and no vibration too.

spoodfoilage commented 8 months ago

Same problem here, Pixel 5 with Android 14. I had to open my phone settings and set the "music and audio" permission myself. Even then, the general app settings do not accept any choices for default sounds (ringtone and timer). I can however get around this and choose an alarm sound from within each individual alarm setting.

HarriBuh commented 8 months ago

@meenbeese Have you even looked at this issue once yet?

meenbeese commented 8 months ago

@meenbeese Have you even looked at this issue once yet?

Yes, obviously :) This is a release blocker and I am working on a fix right now. Expect a fix to arrive soon.

meenbeese commented 8 months ago

Thanks for your patience and the fix will arrive in the next release. You can check 876f78a for more details.