Skip to content

Commit a3e799e

Browse files
committed
Update description for RequestPermissionAsync
1 parent ada9dc7 commit a3e799e

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

Lines changed: 3 additions & 1 deletion
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)