Skip to content

Commit a43a08b

Browse files
authored
Merge pull request #1353 from firebase/am-messaging_comment
Update description for RequestPermissionAsync
2 parents ada9dc7 + a3e799e commit a43a08b

File tree

1 file changed

+3
-1
lines changed
  • messaging/testapp/Assets/Firebase/Sample/Messaging

1 file changed

+3
-1
lines changed

‎messaging/testapp/Assets/Firebase/Sample/Messaging/UIHandler.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,12 @@ void InitializeFirebase() {
8282
});
8383
DebugLog("Firebase Messaging Initialized");
8484

85-
// This will display the prompt to request permission to receive
85+
// On iOS, this will display the prompt to request permission to receive
8686
// notifications if the prompt has not already been displayed before. (If
8787
// the user already responded to the prompt, thier decision is cached by
8888
// the OS and can be changed in the OS settings).
89+
// On Android, this will return successfully immediately, as there is no
90+
// equivalent system logic to run.
8991
Firebase.Messaging.FirebaseMessaging.RequestPermissionAsync().ContinueWithOnMainThread(
9092
task => {
9193
LogTaskCompletion(task, "RequestPermissionAsync");

0 commit comments

Comments
 (0)