-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: rich consents #122
base: master
Are you sure you want to change the base?
feat: rich consents #122
Conversation
Implement an example of fetching rich consent record when transaction linking id is present in the notificaiton.
Fetch consent details in main activity and pass it as intent extra. If the rich consent record is not found render the standrad notification activity.
README.md
Outdated
if (exception instanceof GuardianException) { | ||
GuardianException guardianException = (GuardianException) exception; | ||
if (guardianException.isResourceNotFound()) { | ||
// there is no consent associated with the tranaction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: transaction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for spotting these. I fixed this and the rest of typos in 6eea956
README.md
Outdated
@@ -178,23 +178,54 @@ guardian | |||
.execute(); // or start(new Callback<> ...) asynchronously | |||
``` | |||
|
|||
### Fetch rich consent details | |||
|
|||
When you receive a push notification, the presence of the property `tranactionLinkingId` indicates a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: transactionLinkingId
README.md
Outdated
### Fetch rich consent details | ||
|
||
When you receive a push notification, the presence of the property `tranactionLinkingId` indicates a | ||
rich consent record may be associated to the tranaction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo:transaction
README.md
Outdated
To fetch the rich consent details, you can use the `fetchConsent` method. | ||
|
||
```java | ||
if (notification.getTranactionLinkingId() != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: getTransactionLinkingId
By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
Adds fetch rich consent record capability to guardian sdk.
References
Testing
Checklist