Public attributes | |
---|---|
suppress_notification_permission_prompt | bool If true, do not display the prompt to the user requesting permission to allow notifications to this app. |
boolfirebase::messaging::MessagingOptions::suppress_notification_permission_prompt
If true, do not display the prompt to the user requesting permission to allow notifications to this app.
If the prompt is suppressed in this way, the developer must manually prompt the user for permission at some point in the future using RequestPermission()
.
If this prompt has already been accepted once in the past the prompt will not be displayed again.
This option currently only applies to iOS and tvOS.
firebase::messaging::MessagingOptions::MessagingOptions()
Default constructor.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.