setUserConsent

abstract fun setUserConsent(newValue: Boolean)

Set the user consent to the provided value. Application MUST explicitly ask for the user consent to send their private data (email and phone numbers) to the identity server. Please see https://support.google.com/googleplay/android-developer/answer/9888076?hl=en for more details.

Parameters

newValue

true if the user explicitly give their consent, false if the user wants to revoke their consent.