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.
[x] This change adds test coverage for new/changed/fixed functionality
Checklist
[x] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[ ] All active GitHub checks for tests, formatting, and security are passing
[x] The correct base branch is being used, if not the default branch
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 newgetTransactionLinkingId
getter function. This method is annotated with@Nullable
becausetxlnkid
will not always be present in the notification payload.Testing
Unit tests were added.
Checklist