Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Update receiving-messages.md #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/messaging/receiving-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ firebase.messaging().hasPermission()
});
```

## 2) Request permissions
## 2) Request permissions (iOS only)

If the user has not already granted permissions, then you can prompt them to do so, as follows:
On iOS, you are required to ask the operating system to listen for messages:

```js
try {
Expand Down Expand Up @@ -132,4 +132,4 @@ public void onCreate() { // <-- Check this block exists
super.onCreate();
SoLoader.init(this, /* native exopackage */ false); // <-- Check this line exists within the block
}
```
```