Skip to content

Notification-permission check before every action required? #393

Discussion options

You must be logged in to vote

The reason to check every time is that the user may have revoked or given the permission while using the app, using the settings menu. If you don't check, or only check on start-up, you won't know. That said, nothing will break if you don't check (because the OS will simply obey the actual permissions set) so if you prefer to do it only occasionally that's totally fine. For example, you could check before a large number of downloads start, or when your "downloads screen" is first created, or as you suggest only on start-up.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@philitell
Comment options

Answer selected by philitell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants