We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 851d670 + b685029 commit 7cb8525Copy full SHA for 7cb8525
iOS_SDK/OneSignalSDK/Source/OSEmailSubscription.m
@@ -95,7 +95,8 @@ - (void)setEmailAddress:(NSString *)emailAddress {
95
- (NSDictionary *)toDictionary {
96
return @{
97
@"emailUserId": _emailUserId ?: [NSNull null],
98
- @"emailAddress": _emailAddress ?: [NSNull null]
+ @"emailAddress": _emailAddress ?: [NSNull null],
99
+ @"isSubscribed": @(self.isSubscribed)
100
};
101
}
102
0 commit comments