Skip to content

Commit cc626b4

Browse files
authored
Merge pull request #610 from OneSignal/received_receipts_payload_mapping
Received receipts payload mapping
2 parents 9838f96 + 2d330db commit cc626b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/service-worker/ServiceWorker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export class ServiceWorker {
346346
content: rawNotification.alert,
347347
data: rawNotification.custom.a,
348348
url: rawNotification.custom.u,
349+
rr: rawNotification.custom.rr, // received receipts
349350
icon: rawNotification.icon,
350351
image: rawNotification.image,
351352
tag: rawNotification.tag,

0 commit comments

Comments
 (0)