Skip to content

Commit

Permalink
docs(messaging, ios): add Background App Refresh / message handler in…
Browse files Browse the repository at this point in the history
…teraction note
  • Loading branch information
roti-c137 authored Jun 24, 2022
1 parent 66e6fb0 commit 4e42d51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,12 @@ messaging()

On Android, the `isHeadless` prop will not exist.

#### iOS Background Limitation

On iOS devices, the user is able to toggle Background App Refresh in device's Settings. Furthermore, the Background App Refresh setting will automatically be off if the device is in low power mode.

If the iOS Background App Refresh mode is off, your handler configured in `setBackgroundMessageHandler` will not be triggered.

### Topics

Topics are a mechanism which allow a device to subscribe and unsubscribe from named PubSub channels, all managed via FCM.
Expand Down

1 comment on commit 4e42d51

@vercel
Copy link

@vercel vercel bot commented on 4e42d51 Jun 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.