@@ -57,7 +57,7 @@ struct MessagingOptions {
5757 // / If this prompt has already been accepted once in the past the prompt will
5858 // / not be displayed again.
5959 // /
60- // / This option currently only applies to iOS.
60+ // / This option currently only applies to iOS and tvOS .
6161 bool suppress_notification_permission_prompt;
6262};
6363
@@ -107,8 +107,8 @@ struct Notification {
107107 // / Destructor.
108108 ~Notification () { delete android; }
109109
110- // / Indicates notification title. This field is not visible on iOS phones
111- // / and tablets.
110+ // / Indicates notification title. This field is not visible on tvOS, iOS
111+ // / phones and tablets.
112112 std::string title;
113113
114114 // / Indicates notification body text.
@@ -122,12 +122,12 @@ struct Notification {
122122 // / Supports default, or the filename of a sound resource bundled in the
123123 // / app.
124124 // /
125- // / Android sound files must reside in /res/raw/, while iOS sound files
126- // / can be in the main bundle of the client app or in the Library/Sounds
127- // / folder of the app’s data container.
125+ // / Android sound files must reside in /res/raw/, while iOS and tvOS sound
126+ // / files can be in the main bundle of the client app or in the
127+ // / Library/Sounds folder of the app’s data container.
128128 std::string sound;
129129
130- // / Indicates the badge on the client app home icon. iOS only.
130+ // / Indicates the badge on the client app home icon. iOS and tvOS only.
131131 std::string badge;
132132
133133 // / Indicates whether each notification results in a new entry in the
@@ -145,12 +145,12 @@ struct Notification {
145145 // / On Android, if this is set, an activity with a matching intent filter is
146146 // / launched when user clicks the notification.
147147 // /
148- // / If set on iOS, corresponds to category in APNS payload.
148+ // / If set on iOS or tvOS , corresponds to category in APNS payload.
149149 std::string click_action;
150150
151151 // / Indicates the key to the body string for localization.
152152 // /
153- // / On iOS, this corresponds to "loc-key" in APNS payload.
153+ // / On iOS and tvOS , this corresponds to "loc-key" in APNS payload.
154154 // /
155155 // / On Android, use the key in the app's string resources when populating this
156156 // / value.
@@ -159,7 +159,7 @@ struct Notification {
159159 // / Indicates the string value to replace format specifiers in body string
160160 // / for localization.
161161 // /
162- // / On iOS, this corresponds to "loc-args" in APNS payload.
162+ // / On iOS and tvOS , this corresponds to "loc-args" in APNS payload.
163163 // /
164164 // / On Android, these are the format arguments for the string resource. For
165165 // / more information, see [Formatting strings][1].
@@ -170,7 +170,7 @@ struct Notification {
170170
171171 // / Indicates the key to the title string for localization.
172172 // /
173- // / On iOS, this corresponds to "title-loc-key" in APNS payload.
173+ // / On iOS and tvOS , this corresponds to "title-loc-key" in APNS payload.
174174 // /
175175 // / On Android, use the key in the app's string resources when populating this
176176 // / value.
@@ -179,7 +179,7 @@ struct Notification {
179179 // / Indicates the string value to replace format specifiers in title string
180180 // / for localization.
181181 // /
182- // / On iOS, this corresponds to "title-loc-args" in APNS payload.
182+ // / On iOS and tvOS , this corresponds to "title-loc-args" in APNS payload.
183183 // /
184184 // / On Android, these are the format arguments for the string resource. For
185185 // / more information, see [Formatting strings][1].
@@ -306,7 +306,7 @@ struct Message {
306306 std::string message_type;
307307
308308 // / Sets the priority of the message. Valid values are "normal" and "high." On
309- // / iOS, these correspond to APNs priority 5 and 10.
309+ // / iOS and tvOS , these correspond to APNs priority 5 and 10.
310310 // /
311311 // / By default, messages are sent with normal priority. Normal priority
312312 // / optimizes the client app's battery consumption, and should be used unless
@@ -460,7 +460,7 @@ bool IsTokenRegistrationOnInitEnabled();
460460// / If this setting is enabled, it triggers the token registration refresh
461461// / immediately. This setting is persisted across app restarts and overrides the
462462// / setting "firebase_messaging_auto_init_enabled" specified in your Android
463- // / manifest (on Android) or Info.plist (on iOS).
463+ // / manifest (on Android) or Info.plist (on iOS and tvOS ).
464464// /
465465// / <p>By default, token registration during initialization is enabled.
466466// /
@@ -480,7 +480,7 @@ bool IsTokenRegistrationOnInitEnabled();
480480// / @endcode
481481// / @endif
482482// /
483- // / or on iOS to your Info.plist:
483+ // / or on iOS or tvOS to your Info.plist:
484484// /
485485// / @if NOT_DOXYGEN
486486// / <key>FirebaseMessagingAutoInitEnabled</key>
@@ -528,9 +528,9 @@ enum Error {
528528// / @brief Displays a prompt to the user requesting permission to display
529529// / notifications.
530530// /
531- // / The permission prompt only appears on iOS. If the user has already agreed to
532- // / allow notifications, no prompt is displayed and the returned future is
533- // / completed immediately.
531+ // / The permission prompt only appears on iOS and tvOS . If the user has
532+ // / already agreed to allow notifications, no prompt is displayed and the
533+ // / returned future is completed immediately.
534534// /
535535// / @return A future that completes when the notification prompt has been
536536// / dismissed.
0 commit comments