aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Firebase/Messaging/CHANGELOG.md3
-rw-r--r--Firebase/Messaging/FIRMessaging.m3
2 files changed, 3 insertions, 3 deletions
diff --git a/Firebase/Messaging/CHANGELOG.md b/Firebase/Messaging/CHANGELOG.md
index 78dc8d9..22b5031 100644
--- a/Firebase/Messaging/CHANGELOG.md
+++ b/Firebase/Messaging/CHANGELOG.md
@@ -1,3 +1,6 @@
+# 2018-05-29 -- v3.0.1
+- Clean up a few deprecation warnings.
+
# 2018-05-08 -- v3.0.0
- Remove deprecated delegate property `remoteMessageDelegate`, please use `delegate` instead.
- Remove deprecated method `messaging:didRefreshRegistrationToken:` defined in FIRMessagingDelegate protocol, please use `messaging:didReceiveRegistrationToken:` instead.
diff --git a/Firebase/Messaging/FIRMessaging.m b/Firebase/Messaging/FIRMessaging.m
index d5e0a01..cb5559f 100644
--- a/Firebase/Messaging/FIRMessaging.m
+++ b/Firebase/Messaging/FIRMessaging.m
@@ -417,10 +417,7 @@ NSString *const kFIRMessagingPlistAutoInitEnabled =
openURL:url
sourceApplication:FIRMessagingAppIdentifier()
annotation:@{}];
-#pragma clang diagnostic pop
} else if ([appDelegate respondsToSelector:handleOpenURLSelector]) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
[appDelegate application:application handleOpenURL:url];
#pragma clang diagnostic pop
}