diff options
author | Chen Liang <chliang@google.com> | 2018-05-23 19:51:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 19:51:14 -0700 |
commit | de4fe203525072babcdec444a06e42e77f0aa714 (patch) | |
tree | a9ee1b07b36b940e64b3102b8edc435746ac651a /Firebase/Messaging/FIRMessaging.m | |
parent | 3701255e78d50751971309377f7791e73acd6b91 (diff) |
Adding new error code to topic format error (#1324)
Diffstat (limited to 'Firebase/Messaging/FIRMessaging.m')
-rw-r--r-- | Firebase/Messaging/FIRMessaging.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Messaging/FIRMessaging.m b/Firebase/Messaging/FIRMessaging.m index ec73474..972b4fa 100644 --- a/Firebase/Messaging/FIRMessaging.m +++ b/Firebase/Messaging/FIRMessaging.m @@ -694,7 +694,7 @@ NSString *const kFIRMessagingPlistAutoInitEnabled = if (self.defaultFcmToken.length && topic.length) { NSString *normalizeTopic = [[self class ] normalizeTopic:topic]; if ([FIRMessagingPubSub hasTopicsPrefix:topic]) { - FIRMessagingLoggerWarn(kFIRMessagingMessageCodeMessaging006, + FIRMessagingLoggerWarn(kFIRMessagingMessageCodeTopicFormatIsDeprecated, @"Format '%@' is deprecated. Only '%@' should be used in " @"subscribeToTopic.", topic, normalizeTopic); } @@ -720,7 +720,7 @@ NSString *const kFIRMessagingPlistAutoInitEnabled = if (self.defaultFcmToken.length && topic.length) { NSString *normalizeTopic = [[self class] normalizeTopic:topic]; if ([FIRMessagingPubSub hasTopicsPrefix:topic]) { - FIRMessagingLoggerWarn(kFIRMessagingMessageCodeMessaging007, + FIRMessagingLoggerWarn(kFIRMessagingMessageCodeTopicFormatIsDeprecated, @"Format '%@' is deprecated. Only '%@' should be used in " @"unsubscribeFromTopic.", topic, normalizeTopic); } |