Skip to content

Commit

Permalink
Merge pull request #1353 from firebase/am-messaging_comment
Browse files Browse the repository at this point in the history
Update description for RequestPermissionAsync
  • Loading branch information
a-maurice authored Sep 6, 2023
2 parents ada9dc7 + a3e799e commit a43a08b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ void InitializeFirebase() {
});
DebugLog("Firebase Messaging Initialized");

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

0 comments on commit a43a08b

Please sign in to comment.