Skip to content

Commit 1318eaf

Browse files
docs(messaging): added note about notifee v7 notification event handling (#7411)
* docs: added note about notifee v7 notification event handling * lint(spellcheck): add `notifee` to dictionary * lint(spellcheck): method names in backticks to avoid spellcheck on them --------- Co-authored-by: Mike Hardy <[email protected]>
1 parent ff345a8 commit 1318eaf

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.spellcheck.dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Node.js
121121
non-firebase
122122
NoSQL
123123
Notifee
124+
notifee
124125
NPE
125126
NPM
126127
OAuth

docs/faqs-and-tips.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ Sometimes, after step 3, you have to click inside a "Text color" field, but this
7373

7474
### On iOS, when the app is in quit state, the setBackgroundMessageHandler is never invoked even when I receive the notification. How can I fix this?
7575

76+
> Note: If you use @notifee/react-native, since v7.0.0, `onNotificationOpenedApp` and `getInitialNotification` will no longer trigger as notifee will handle the event.
77+
7678
When the app is closed/quit, this can happen even when you are getting notifications and even when you are able to invoke the app in a headless state.
7779

7880
To fix this:

docs/messaging/usage/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ or update the in-app UI to signal a new notification.
168168

169169
### Background & Quit state messages
170170

171+
> Note: If you use @notifee/react-native, since v7.0.0, `onNotificationOpenedApp` and `getInitialNotification` will no longer trigger as notifee will handle the event.
172+
171173
When the application is in a background or quit state, the `onMessage` handler will not be called when receiving messages.
172174
Instead, you need to setup a background callback handler via the `setBackgroundMessageHandler` method.
173175

0 commit comments

Comments
 (0)