Skip to content

Conditionally show Firebase Messaging notification depending on foreground state or content? #397

Closed Answered by robingenz
r0hin asked this question in Q&A
Discussion options

You must be logged in to vote

but wouldn't this cause both in-app notifications and regular iOS notifications to happen at the same time

As said, data notifications are not displayed to the user. They wake up the app for a short moment and you have time to create a local notification instead according to your own rules.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@r0hin
Comment options

@robingenz
Comment options

Answer selected by r0hin
@r0hin
Comment options

@robingenz
Comment options

@r0hin
Comment options

@robingenz
Comment options

Comment options

You must be logged in to vote
4 replies
@robingenz
Comment options

@r0hin
Comment options

@r0hin
Comment options

@robingenz
Comment options

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