When to use Notifee and when to use RN Firebase methods? #429
Unanswered
StijnCoolen
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Hi there! Use That's basically it. Okay with cloud messaging JSON delivery and really basic notification APIs? firebase only. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure when I have to use Notifee vs RN Firebase methods. When should I use what?
Both seem to offer similar methods for:
notifee.onBackgroundEvent()
&messaging().setBackgroundMessageHandler()
notifee.onForegroundEvent()
&messaging.onMessage()
notifee.requestPermission()
&messaging().requestPermission()
notifee.getInitialNotification()
&messaging().getInitialNotification()
Can (and should) I use both?
(I use Notifee because I want to schedule and show local notifications when the app is open, also I want to perform actions like navigating to a certain screen when a user presses a notification.)
Beta Was this translation helpful? Give feedback.
All reactions