User Messaging Platform: Reset consent

Viewed 331
1 Answers

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.

Related