File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
messaging/testapp/Assets/Firebase/Sample/Messaging Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,12 @@ void InitializeFirebase() {
82
82
} ) ;
83
83
DebugLog ( "Firebase Messaging Initialized" ) ;
84
84
85
- // This will display the prompt to request permission to receive
85
+ // On iOS, this will display the prompt to request permission to receive
86
86
// notifications if the prompt has not already been displayed before. (If
87
87
// the user already responded to the prompt, thier decision is cached by
88
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.
89
91
Firebase . Messaging . FirebaseMessaging . RequestPermissionAsync ( ) . ContinueWithOnMainThread (
90
92
task => {
91
93
LogTaskCompletion ( task , "RequestPermissionAsync" ) ;
You can’t perform that action at this time.
0 commit comments