ChristopherRogers1991 / ExerciseReminders

Android notifications to do simple exercises at regular intervals
GNU General Public License v3.0
2 stars 0 forks source link

feature req: operation without notification #9

Open nutpantz opened 4 months ago

nutpantz commented 4 months ago

It would be nice if the app operated without needing too have an alarm or notification. Just open the app and do the exercise

ChristopherRogers1991 commented 4 months ago

Hello @nutpantz,

You can sort of do this now, by pausing the notifications in the alarm settings, and then tapping the "Random Exercise" button. If you tap it multiple times, you'll get a list of notifications, which you should be able to swipe away individually, or the whole list at once.

I recognize that's not exactly what you are looking for, but figured I'd share it as a potential workaround.

-Chris

nutpantz commented 4 months ago

When I try to disable notifications. It just freezes solid and I can do nothing.

On June 25, 2024 8:41:35 AM PDT, ChristopherRogers1991 @.***> wrote:

Hello @nutpantz,

You can sort of do this now, by pausing the notifications in the alarm settings, and then tapping the "Random Exercise" button. If you tap it multiple times, you'll get a list of notifications, which you should be able to swipe away individually, or the whole list at once.

I recognize that's not exactly what you are looking for, but figured I'd share it as a potential workaround.

-Chris

-- Reply to this email directly or view it on GitHub: https://github.com/ChristopherRogers1991/ExerciseReminders/issues/9#issuecomment-2189297362 You are receiving this because you were mentioned.

Message ID: @.***>

ChristopherRogers1991 commented 4 months ago

Hmm... That's not something I've seen before. I haven't seen any thing about lockups or crashes in the Google Play console, so I assume you've installed via the F-Droid store, or downloaded the APK directly?

If so, would you be willing to install LogCat Reader, and send me the logs from a lock-up? You can filter the logs to just those referencing 'exercisereminders', and upload them here. That should help me troubleshoot and resolve the issue.

-Chris

nutpantz commented 4 months ago

logcat_06-25-2024_23-08-04.txt

ChristopherRogers1991 commented 4 months ago

Hey, thanks for sharing the logs - apologies for the delayed response, I must have missed the notification from github when they were posted, so I'm just seeing them now. I'm seeing lots of this message:

Permission grant result requestId=-4322015413416787689 callingUid=10414 callingPackage=nodo.crogers.exercisereminders permission=android.permission.POST_NOTIFICATIONS isImplicit=false result=2 isPermissionRationaleShown=false                                                                                                                                                           

I tested on my phone, and if I deny the notification permission to the app, I see that message in my logs, and experience behavior with the app similar to what you described (lock ups). I must have a bug somewhere related to the notification permission request.

That said, if you grant the permission for the app to show notifications (you'll need to do this from your system settings, rather than within the app itself), I think it should resolve the issue, and allow you to use the app in the manner I described in my first comment (pause the alarms, and use the 'random exercise' button). Could you give that a shot, and let me know whether that works? (Or let me know if I've misdiagnosed the issue, and you've already granted the app permission to show notifications).

-Chris