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: Add Android 13 notification permission support #50

Merged
merged 8 commits into from
Mar 4, 2024

Conversation

KCeh
Copy link
Collaborator

@KCeh KCeh commented Feb 13, 2024

📷 Screenshots

📄 Context

Fix for #45

📝 Changes

Update readme to let users know that from Android 13 they need to turn on notifications on app level if they want to see them.
Add notifications permission to manifest.
Add logic to check if notifications are enabled before creating notifications.
Add check for notifications permission in settings. (currently only for crash monitor & certificate base on info from NotificationFactory, if we need to add somewhere else, just ping me).
Also, a permission check is only executed if at least one option is enabled. This is not the greatest solution, but it should be fine.

🚫 Breaking

Shouldn't be

🛠️ How to test

Try sample app on Android 13+ device.

⏱️ Next steps

Taking a look at other issues

@KCeh KCeh requested review from bojankoma and AsimRibo February 13, 2024 13:52
@KCeh KCeh added the bug Something isn't working label Feb 13, 2024
@KCeh KCeh self-assigned this Feb 13, 2024
@KCeh KCeh changed the base branch from master to develop February 13, 2024 14:25
@KCeh KCeh requested a review from simicmarin February 14, 2024 09:53
Copy link
Contributor

@AsimRibo AsimRibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks by the book to me. 👍

@KCeh KCeh merged commit 6f20c95 into develop Mar 4, 2024
5 checks passed
@KCeh KCeh mentioned this pull request Mar 6, 2024
@KCeh KCeh deleted the fix/crash-notifications-not-showing-on-android-13 branch March 6, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants