We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ada9dc7 + a3e799e commit a43a08bCopy full SHA for a43a08b
messaging/testapp/Assets/Firebase/Sample/Messaging/UIHandler.cs
@@ -82,10 +82,12 @@ void InitializeFirebase() {
82
});
83
DebugLog("Firebase Messaging Initialized");
84
85
-// This will display the prompt to request permission to receive
+// On iOS, this will display the prompt to request permission to receive
86
// notifications if the prompt has not already been displayed before. (If
87
// the user already responded to the prompt, thier decision is cached by
88
// 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.
91
Firebase.Messaging.FirebaseMessaging.RequestPermissionAsync().ContinueWithOnMainThread(
92
task => {
93
LogTaskCompletion(task, "RequestPermissionAsync");
0 commit comments