From 8d8258fd5b6423160932fc1a292aa8ee012bc8c7 Mon Sep 17 00:00:00 2001 From: VilleMiekkoja Date: Sun, 15 Dec 2019 20:18:49 +0200 Subject: [PATCH] Update receiving-messages.md --- docs/messaging/receiving-messages.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/messaging/receiving-messages.md b/docs/messaging/receiving-messages.md index cc16d875..aa104d4d 100644 --- a/docs/messaging/receiving-messages.md +++ b/docs/messaging/receiving-messages.md @@ -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 { @@ -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 } -``` \ No newline at end of file +```