<Android Kotlin - GDPR check if user choose person...
# stackoverflow
r
Android Kotlin - GDPR check if user choose personalized ads or not private fun loadFormSelf() { UserMessagingPlatform.loadConsentForm(this, { consentForm -> this@MainActivity.consentForm = consentForm if(consentInformation.consentStatus == ConsentInformation.ConsentStatus.REQUIRED) { consentForm.show(this) { if (consentInformation.consentStatus == ConsentInformation.ConsentStatus.OBTAINED) { // App can start requesting ads. setAd()...