diff --git a/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessaging.h b/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessaging.h index 4337c812b47..8edcea4aaa5 100644 --- a/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessaging.h +++ b/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessaging.h @@ -56,8 +56,6 @@ typedef void (^FIRMessagingDeleteFCMTokenCompletion)(NSError *_Nullable error) */ typedef void (^FIRMessagingTopicOperationCompletion)(NSError *_Nullable error); -#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 - /** * Notification sent when the FCM registration token has been refreshed. Please use the * FIRMessaging delegate method `messaging:didReceiveRegistrationToken:` to receive current and @@ -65,16 +63,6 @@ typedef void (^FIRMessagingTopicOperationCompletion)(NSError *_Nullable error); */ FOUNDATION_EXPORT const NSNotificationName FIRMessagingRegistrationTokenRefreshedNotification NS_SWIFT_NAME(MessagingRegistrationTokenRefreshed); -#else - -/** - * Notification sent when the FCM registration token has been refreshed. Please use the - * FIRMessaging delegate method `messaging:didReceiveRegistrationToken:` to receive current and - * updated tokens. - */ -FOUNDATION_EXPORT NSString *const FIRMessagingRegistrationTokenRefreshedNotification - NS_SWIFT_NAME(MessagingRegistrationTokenRefreshedNotification); -#endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 /** * @enum FIRMessagingError diff --git a/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h b/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h index b2e3c775094..f4bd7cad24b 100644 --- a/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h +++ b/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h @@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN /// specified in the notification body via the `image` parameter. Images and other /// rich content can be populated manually without the use of this class. See the /// `UNNotificationServiceExtension` type for more details. -__IOS_AVAILABLE(10.0) __OSX_AVAILABLE(10.14) @interface FIRMessagingExtensionHelper : NSObject +__OSX_AVAILABLE(10.14) @interface FIRMessagingExtensionHelper : NSObject /// Call this API to complete your notification content modification. If you like to /// overwrite some properties of the content instead of using the default payload,