diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-01-24 10:38:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 10:38:14 -0800 |
commit | cc0ecd8aa4fdcdac3c531643aafb59c3411188b0 (patch) | |
tree | 9a8bd5b0a60373a0824f2805d1cba223d2ca4a6d /Firebase/Messaging/FIRMessagingContextManagerService.m | |
parent | d764ad2c7d4218cf5c2ec1dd852d04dae4ffbb45 (diff) |
Disable Messaging build warnings (#697)
Diffstat (limited to 'Firebase/Messaging/FIRMessagingContextManagerService.m')
-rw-r--r-- | Firebase/Messaging/FIRMessagingContextManagerService.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Firebase/Messaging/FIRMessagingContextManagerService.m b/Firebase/Messaging/FIRMessagingContextManagerService.m index 232587f..65f64ad 100644 --- a/Firebase/Messaging/FIRMessagingContextManagerService.m +++ b/Firebase/Messaging/FIRMessagingContextManagerService.m @@ -144,7 +144,10 @@ typedef NS_ENUM(NSUInteger, FIRMessagingContextManagerMessageType) { if ([apsDictionary[kFIRMessagingContextManagerTitleKey] length]) { // |alertTitle| is iOS 8.2+, so check if we can set it if ([notification respondsToSelector:@selector(setAlertTitle:)]) { +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunguarded-availability" notification.alertTitle = apsDictionary[kFIRMessagingContextManagerTitleKey]; +#pragma pop } } |