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 6c497f2 commit ed6d6e7Copy full SHA for ed6d6e7
iOS_SDK/OneSignalSDK/OneSignalInAppMessages/Requests/OSInAppMessagingRequests.m
@@ -43,7 +43,9 @@ + (instancetype _Nonnull) withSubscriptionId:(NSString * _Nonnull)subscription
43
headers[@"OneSignal-Session-Duration" ] = [sessionDuration stringValue];
44
}
45
headers[@"OneSignal-RYW-Token"] = rywToken;
46
- headers[@"OneSignal-Retry-Count"] = [retryCount stringValue];
+ if (retryCount > 0) {
47
+ headers[@"OneSignal-Retry-Count"] = [retryCount stringValue];
48
+ }
49
50
request.additionalHeaders = headers;
51
0 commit comments