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.
1 parent 851d670 commit b685029Copy full SHA for b685029
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