kraigs-android / kraigsandroid

Kraig's android applications
26 stars 26 forks source link

Android 14: Alarm turns off instead of bell #154

Open cheggerdev opened 6 months ago

cheggerdev commented 6 months ago

Hello,

With Android 13, all was working well. Since I updated to Android 14, the non-repeating Alarms no longer bell but turn off.

The repeating Alarms continue to work fine.

I am using the F-Droid Version 2.11.

kraigs-android commented 6 months ago

I'm not sure who maintains the F-Droid version of the app, but version 2.11 on the Google Play store was updated last fall to support all of the new Android 14 restrictions and I've been using it without issue on Android 14 since.

In particular, a new permission is required with Android 14 (SCHEDULE_EXACT_ALARM) which did not exist in previous versions. You can verify that this permission is granted in Settings > Apps > Special app access > Alarms & reminders. It should automatically enable on upgrade, but not having it might be the source of your problem.

cheggerdev commented 6 months ago

Am 17.02.24 um 21:01 schrieb kraigs-android:

I'm not sure who maintains the F-Droid version of the app, but version 2.11 on the Google Play store was updated last fall to support all of the new Android 14 restrictions and I've been using it without issue on Android 14 since.

In particular, a new permission is required with Android 14 (SCHEDULE_EXACT_ALARM) which did not exist in previous versions. You can verify that this permission is granted in Settings > Apps > Special app access > Alarms & reminders. It should automatically enable on upgrade, but not having it might be the source of your problem.

Hi,

I just checked and yes this permission is enabled.

kraigs-android commented 6 months ago

I'd suggest trying the Google Play version, then. The F-Droid version may not have been update to use this new permission yet. I haven't received any other notes about this problem.

cheggerdev commented 6 months ago

Am 17.02.24 um 21:52 schrieb kraigs-android:

I'd suggest trying the Google Play version, then. The F-Droid version may not have been update to use this new permission yet. I haven't received any other notes about this problem.

I think I made a discovery: Yesterday I set the alarm clock to bell to 9:30 am. I went right after midnight to bed. I looked at my smartphone I noticed the alarm clock sign in the status bar was gone. I had to disable and reenable the alarm clock again and the alarm clock sign appeared in the status bar again.

It actually did bell at 9:30 am.

My theory is: With Android 14 the alarm clock turn off at midnight. This might be an issue with Android 14 actually.