auth0 / Guardian.Android

Android toolkit for Auth0 Guardian API
https://auth0.com/guardian
MIT License
5 stars 16 forks source link

Add support for transaction linking id [SDK-3879] #103

Closed poovamraj closed 1 year ago

poovamraj 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 getTransactionLinkingId getter function. This method is annotated with @Nullable because txlnkid will not always be present in the notification payload.

Testing

Unit tests were added.

Checklist