aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Messaging
diff options
context:
space:
mode:
authorGravatar Chen Liang <chliang@google.com>2018-04-13 11:15:28 -0700
committerGravatar GitHub <noreply@github.com>2018-04-13 11:15:28 -0700
commit609cd0328aa845145671880e611c8b7d76065020 (patch)
treedc5d3e53f6ef226ecf76116dc10a75a75b21172e /Firebase/Messaging
parent4797b98bfd8c16230a39945c22d23d08c0b3d8b0 (diff)
Options should be nullable for subscription (#1085)
Getting warning message from xcode so we need to define it to remove warning.
Diffstat (limited to 'Firebase/Messaging')
-rw-r--r--Firebase/Messaging/FIRMessagingPubSub.h4
1 files changed, 2 insertions, 2 deletions
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;
/**