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 33d0ade commit 7dd9b5fCopy full SHA for 7dd9b5f
iOS_SDK/OneSignalSDK/Source/OneSignalClient.m
@@ -395,6 +395,7 @@ - (void)handleJSONNSURLResponse:(NSURLResponse*)response data:(NSData*)data erro
395
successBlock(nil);
396
}
397
} else if (failureBlock != nil) {
398
+ // Make sure to send all the infomation available to the client
399
if (innerJson != nil && error != nil)
400
failureBlock([NSError errorWithDomain:@"OneSignalError" code:statusCode userInfo:@{@"returned" : innerJson, @"error": error}]);
401
else if (innerJson != nil)
0 commit comments