auth0 / Guardian.swift

Swift toolkit for Auth0 Guardian API
https://auth0.com/guardian
MIT License
9 stars 19 forks source link

Add support for transaction linking id [SDK-3878] #106

Closed Widcket closed 1 year ago

Widcket commented 1 year ago

Description

To support contextual push notifications, the notification payload will include a new txlnkid string property, which stands for “transaction linking id“.

This PR adds support for this new property, by exposing it in the Notification public API through a new transactionLinkingId string property. This property is optional because txlnkid will not always be present in the notification payload.

Testing

Unit tests were added.

Checklist