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

feat(messaging): add config option whether notification should be displayed in the foreground #398

Open
r0hin opened this issue Jul 5, 2023 Discussed in #397 · 0 comments

Comments

@r0hin
Copy link
Contributor

r0hin commented Jul 5, 2023

Discussed in #397

Originally posted by **r0hin** July 4, 2023 Using Firebase Cloud Messaging, upon receiving notification via FCM token, the notification is shown regardless of whether or not the app is in the foreground.

Is there any existing functionality to disable notifications when the app is open and instead use an in-app notification?

--

Solving this problem without the use of the local notifications and directly within the capacitor-firebase/messaging package would be a cool feature!

@robingenz robingenz changed the title Conditionally show Firebase Messaging notification feat(messaging): add config option whether notification should be displayed in the foreground Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants