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 091a612 + 82d51d4 commit 8097b06Copy full SHA for 8097b06
iOS_SDK/OneSignalSDK/Source/Requests.m
@@ -643,7 +643,9 @@ @implementation OSRequestReceiveReceipts
643
+ (instancetype _Nonnull)withPlayerId:(NSString *)playerId notificationId:(NSString *)notificationId appId:(NSString *)appId {
644
let request = [OSRequestReceiveReceipts new];
645
646
- request.parameters = @{@"app_id": appId, @"player_id": playerId ?: [NSNull null]};
+ request.parameters = @{@"app_id": appId,
647
+ @"player_id": playerId ?: [NSNull null],
648
+ @"device_type": @0};
649
request.method = PUT;
650
request.path = [NSString stringWithFormat:@"notifications/%@/report_received", notificationId];
651
0 commit comments