orgzly-revived / orgzly-android-revived

Outliner for taking notes and managing to-do lists
https://www.orgzlyrevived.com
GNU General Public License v3.0
619 stars 39 forks source link

App crashes when saving notes stating "Missing permission to schedule alarm", but all premissions are already allowed. #346

Open RowanDabron opened 5 days ago

RowanDabron commented 5 days ago

Please complete the following information:

Device: Google Pixel 9
Android Version: 14 (GraphenesOS)
Orgzly Revived Version: 1.8.26 (f-droid)
Sync repository type (directory/Dropbox/WebDAV/Git): not setup yet

Every time I save a note the app crashes, and every so often it crashes and I get the attached error log (Error in Orgzly Revived 216a241ae00d.txt) stating it is missing permission to schedule alarm, and when trying to set a reminder on a note I get a popup saying "Alarms and reminders permission needed: The app needs the alarms & reminders permission to set exact times for scheduled/deadline. Please grant the permission in the 'app info' screen." In app info in the phone settings there is no permission for alarms/reminders, and all other permissions are already allowed.

I am running current GrapheneOS so I am not sure if that is causing the issue or not. Not sure if it's useful or not to know, but the old abandoned Orgzly app doesn't have these crashes and doesn't require (or have an option for) an alarms/reminders permission, so maybe some difference there is causing them?

Thanks in advance, and thanks for maintaining the project overall!

amberin commented 5 days ago

There is a permission check which apparently does not work well on GrapheneOS. We will soon switch from Android 13 to 14 as the target - if we are lucky that could make this issue go away. Permissions is one of the things that often change in a big way between Android API versions.

If it does not go away in the next version (1.8.28), please update here.

RowanDabron commented 4 days ago

@amberin Thanks for the response! I'll update when the next version is released.