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

Foreground notifications are not working on Android #94

Open
mario-bermonti opened this issue Nov 10, 2024 · 0 comments
Open

Foreground notifications are not working on Android #94

mario-bermonti opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels

Comments

@mario-bermonti
Copy link
Owner

🐛 Bug Report

A bug was introduced in pull request #92 that causes foreground notifications to not work on
Android. The reason for this is that the LocalNotifications is not being initialized correctly
since it it now only being initialized when the user accepts the informed consent.

The foreground notifications work during the session when the user accepts the informed consent,
but it does not work after the app is closed and reopened.

🔬 How To Reproduce

  1. Install the app
  2. Receive a notification on Android while in the foreground

📈 Expected behavior

Notifications should be displayed on Android while the app is in the foreground in any session.

@mario-bermonti mario-bermonti self-assigned this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant