sweakpl / qralarm-android

QRAlarm is an Android alarm clock application that lets the user turn off alarms by scanning the QR Code.
GNU General Public License v3.0
130 stars 12 forks source link

Alarm status doesn't update after application update #12

Closed Para-lyzed closed 2 years ago

Para-lyzed commented 2 years ago

If the user had an alarm set, then they update the app to a newer version, the app no longer shows the alarm as set, but the alarm will still go off. When the alarm goes off, the screen to turn it off does not appear and the user must find and open the app, "start" the alarm, then subsequently stop the alarm immediately afterwards.

For reference, I am running QRAlarm on a OnePlus 7 Pro with Android 11, LineageOS build 18.1-20221009-nightly-guacamole. I doubt this is a device or ROM specific issue, but I could see the behavior potentially differing between major android releases.

sweakpl commented 2 years ago

I've tried replicating the issue on Android 7 (Huawei device) and Android 13 (Pixel device) with no success. I've tried the following:

Maybe this might actualy be an issue of how the LineageOS ROM handles app updates (potentially rewriting user preferences) but I don't want to blame Your device or anything like that. Either way, I hope that despite the bug, QRAlarm continues to work as expected.

Para-lyzed commented 2 years ago

I have done some testing, and have not been able to replicate the issue. I will provide all the details I can about this issue, but it is very inconsequential, so I am not especially concerned about it.

I have been using the same installation of QRAlarm since version 1.0. It was installed very shortly after release. I know that I set my alarm yesterday for 6AM, and between yesterday morning and 6AM PST today, I had updated QRAlarm. I read the patch notes and was happy to see the gentle wake up feature added, so I opened the app immediately after the update. At that point, the alarm either did not appear as set, or I disabled it after the update (I cannot remember which) since I was able to access the settings and set the gentle wake up for 30 seconds. The alarm did in fact use the gentle wake up when it went off, even though it was set before that feature was added. I use the preset "Alarm clock" sound, a custom QR code, 10 minute snooze, but maximum snoozes set to 0. I updated the app from version 1.1.1 to version 1.2 using Neo Store v0.9.7. I believe that the original install was from Droid-ify, but that should be of no consequence.

I believe the issue may have happened for one of the following reasons:

Whatever the case may be, it seems that the issue can't be (easily) replicated. As such, I will close this issue as a weird one-off interaction.