Reputation: 6058
As I read, GDPR requires consent to be revoked.
I only found the ConsentInformation.reset() method, but that one specifically mentions that it is only for debug purposes.
What is the correct way to withdraw consent so the Consent dialog gets shown again?
Upvotes: 5
Views: 1135
Reputation: 2408
Every time you call form.show(act)
a dialog will be shown, even if the user already gave consent information. That's why you have to check if consentInformation.consentStatus
has a value of ConsentInformation.ConsentStatus.REQUIRED
before.
This all means that to provide the user a way of changing consent you just need to call show(act)
without performing the check above.
Upvotes: -1