FossifyOrg / Calendar

A simple calendar with events, customizable widgets and no ads.
https://www.fossify.org
GNU General Public License v3.0
590 stars 48 forks source link

Cannot take off alarm without adding notification permission #220

Open austinoneil opened 2 months ago

austinoneil commented 2 months ago

Checklist

Affected app version

1.0.3

Affected Android/Custom ROM version

GrapheneOS latest

Affected device model

Pixel 7

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Make sure app does not have notification permission.
  2. Attempt to add an event.
  3. Touch the reminder icon, attempting to remove it. It says "10 minutes before" by default.

Expected behavior

Modal shows, allowing user to remove the reminder.

Actual behavior

App requests notification permission and cannot proceed until granted permission.

Screenshots/Screen recordings

https://github.com/FossifyOrg/Calendar/assets/5069856/29fb86c6-52d1-49cd-b2bc-b0892ae80b3f

https://github.com/FossifyOrg/Calendar/assets/5069856/09d51615-80cc-4b6d-a7db-87096d328ed2

Additional information

Suggested fix: If permission is not already granted, set the default alarm to be "No reminder." If the user opens the notification dialog, prompt user for permission.