@@ -295,15 +295,15 @@ FIR_SWIFT_NAME(Messaging)
295
295
__deprecated_msg (" Use 'delegate' property" );
296
296
297
297
/* *
298
- * When set to YES, Firebase Messaging will automatically establish a socket-based, direct channel
299
- * to the FCM server. You only need to enable this if you are sending upstream messages or
298
+ * When set to ` YES` , Firebase Messaging will automatically establish a socket-based, direct
299
+ * channel to the FCM server. Enable this only if you are sending upstream messages or
300
300
* receiving non-APNS, data-only messages in foregrounded apps.
301
- * Default is NO .
301
+ * Default is `NO` .
302
302
*/
303
303
@property(nonatomic) BOOL shouldEstablishDirectChannel;
304
304
305
305
/* *
306
- * Returns YES if the direct channel to the FCM server is active, NO otherwise.
306
+ * Returns ` YES` if the direct channel to the FCM server is active, and `NO` otherwise.
307
307
*/
308
308
@property(nonatomic, readonly) BOOL isDirectChannelEstablished;
309
309
@@ -324,14 +324,15 @@ FIR_SWIFT_NAME(Messaging)
324
324
/* *
325
325
* This property is used to set the APNS Token received by the application delegate.
326
326
*
327
- * FIRMessaging uses method swizzling to ensure the APNS token is set automatically.
328
- * However, if you have disabled swizzling by setting `FirebaseAppDelegateProxyEnabled`
329
- * to `NO` in your app's Info.plist, you should manually set the APNS token in your
330
- * application delegate's -application:didRegisterForRemoteNotificationsWithDeviceToken:
327
+ * FIRMessaging uses method swizzling to ensure that the APNS token is set
328
+ * automatically. However, if you have disabled swizzling by setting
329
+ * `FirebaseAppDelegateProxyEnabled` to `NO` in your app's
330
+ * Info.plist, you should manually set the APNS token in your application
331
+ * delegate's `-application:didRegisterForRemoteNotificationsWithDeviceToken:`
331
332
* method.
332
333
*
333
- * If you would like to set the type of the APNS token, rather than relying on automatic
334
- * detection, see: -setAPNSToken:type:.
334
+ * If you would like to set the type of the APNS token, rather than relying on
335
+ * automatic detection, see: ` -setAPNSToken:type:` .
335
336
*/
336
337
@property(nonatomic, copy, nullable) NSData *APNSToken FIR_SWIFT_NAME (apnsToken);
337
338
@@ -416,7 +417,7 @@ FIR_SWIFT_NAME(Messaging)
416
417
* connect to FIRMessaging. Calling this on an already disconnected client is a no-op.
417
418
*
418
419
* Call this before `teardown` when your app is going to the background.
419
- * Since the FIRMessaging connection won't be allowed to live when in background it is
420
+ * Since the FIRMessaging connection won't be allowed to live when in the background, it is
420
421
* prudent to close the connection.
421
422
*/
422
423
- (void )disconnect
@@ -474,8 +475,8 @@ FIR_SWIFT_NAME(Messaging)
474
475
* Use this to track message delivery and analytics for messages, typically
475
476
* when you receive a notification in `application:didReceiveRemoteNotification:`.
476
477
* However, you only need to call this if you set the `FirebaseAppDelegateProxyEnabled`
477
- * flag to NO in your Info.plist. If `FirebaseAppDelegateProxyEnabled` is either missing
478
- * or set to YES in your Info.plist, the library will call this automatically.
478
+ * flag to `NO` in your Info.plist. If `FirebaseAppDelegateProxyEnabled` is either missing
479
+ * or set to ` YES` in your Info.plist, the library will call this automatically.
479
480
*
480
481
* @param message The downstream message received by the application.
481
482
*
0 commit comments