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?
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 ifconsentInformation.consentStatus
has a value ofConsentInformation.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.