From 609cd0328aa845145671880e611c8b7d76065020 Mon Sep 17 00:00:00 2001 From: Chen Liang Date: Fri, 13 Apr 2018 11:15:28 -0700 Subject: Options should be nullable for subscription (#1085) Getting warning message from xcode so we need to define it to remove warning. --- Firebase/Messaging/FIRMessagingPubSub.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Firebase/Messaging') diff --git a/Firebase/Messaging/FIRMessagingPubSub.h b/Firebase/Messaging/FIRMessagingPubSub.h index b249866..1c615d1 100644 --- a/Firebase/Messaging/FIRMessagingPubSub.h +++ b/Firebase/Messaging/FIRMessagingPubSub.h @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN */ - (void)subscribeWithToken:(NSString *)token topic:(NSString *)topic - options:(NSDictionary *)options + options:(nullable NSDictionary *)options handler:(FIRMessagingTopicOperationCompletion)handler; /** @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN */ - (void)unsubscribeWithToken:(NSString *)token topic:(NSString *)topic - options:(NSDictionary *)options + options:(nullable NSDictionary *)options handler:(FIRMessagingTopicOperationCompletion)handler; /** -- cgit v1.2.3