Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix post notifications permission request #1314

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

bemusementpark
Copy link

areNotificationsEnabled() is not available on API 23 so that would cause a crash... but Manifest.permission.POST_NOTIFICATIONS is not available until API 33, so there's no point requesting a permission that doesn't exist yet.

@bemusementpark bemusementpark changed the base branch from master to dev September 5, 2023 05:21
@bemusementpark bemusementpark merged commit b4eb54e into oxen-io:dev Sep 5, 2023
@bemusementpark bemusementpark deleted the fix-post-notifications branch September 5, 2023 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants