Skip to content
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

DIA-2956 expire consent based on vendorListId change #589

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

andresilveirah
Copy link
Member

The SDK won't call /messages if the user has accepted all. As a result, if the property changes vendor list, the user won't be remessaged.

This PR fixes this issue by checking the vendorListId present in the response of /meta-data and, if different than the current one, purging that legislation's consent from local storage.

@andresilveirah andresilveirah merged commit 1997d2c into develop Jan 9, 2025
7 checks passed
@andresilveirah andresilveirah deleted the DIA-2956_expire_consent_vendorlistId branch January 9, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants