aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Messaging/FIRMessagingContextManagerService.m
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-01-24 10:38:14 -0800
committerGravatar GitHub <noreply@github.com>2018-01-24 10:38:14 -0800
commitcc0ecd8aa4fdcdac3c531643aafb59c3411188b0 (patch)
tree9a8bd5b0a60373a0824f2805d1cba223d2ca4a6d /Firebase/Messaging/FIRMessagingContextManagerService.m
parentd764ad2c7d4218cf5c2ec1dd852d04dae4ffbb45 (diff)
Disable Messaging build warnings (#697)
Diffstat (limited to 'Firebase/Messaging/FIRMessagingContextManagerService.m')
-rw-r--r--Firebase/Messaging/FIRMessagingContextManagerService.m3
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
}
}