guyluz11 / infinite_horizons

Using this app your study and work session efficiency can increase dramatically by following methods that got approved by science
GNU Affero General Public License v3.0
16 stars 11 forks source link

Request notification permission again if not grented #140

Closed guyluz11 closed 2 months ago

guyluz11 commented 2 months ago

On Android, we request the user's precise alarm for the notifications to arrive in the background correctly.

If the precise alarm notification is not granted we should the settings each time the user enters the app. Currently it looks like the method of finding if the permission got granted does not work.

Link to the issue so that we can keep track

https://discord.com/channels/888523488376279050/1254751072682119208

guyluz11 commented 2 months ago

I have added permissions section in the settings popup, for android the notification will always return to false and allow the user to arrive to the precise alarm android settings page.

It will look to the user like small bug in the app, this is the best we can do for now untill this issue is fixed in the pacakge we use to check the permission.