Skip to content

Commit c02769d

Browse files
authored
remove platform version check from Messaging header (#8492)
1 parent ff4bf40 commit c02769d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

FirebaseMessaging/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# 2021-07 -- v8.5.0
1+
# 2021-08 -- v8.6.0
2+
- [changed] Removed iOS version check from `FIRMessagingExtensionHelper.h` (#8492).
23
- [added] Added new API `FIRMessagingExtensionHelper exportDeliveryMetricsToBigQuery` that allows developers to enable notification delivery metrics that exports to BigQuery. (#6181)
34

45
# 2021-06 -- v8.2.0

FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 || \
18-
__MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_14
17+
#import <Foundation/Foundation.h>
18+
19+
@class UNMutableNotificationContent, UNNotificationContent;
20+
21+
#if __has_include(<UserNotifications/UserNotifications.h>)
1922
#import <UserNotifications/UserNotifications.h>
2023
#endif
2124

0 commit comments

Comments
 (0)