GDPR-Admob-Android
GDPR-Admob-Android copied to clipboard
how to force show consent form ?
how to force show consent form ?
You mean you wanna force showing the consent form for the users outside the EEA? If you want to debug it forgot to add the option of enabling the debug mode on the Builder class
So just use initialize the class without the Builder class, If you set the last parameter to true it will force the consent dialog to show you can check the code to know how it works.
it is not working....
i make a new project and insert into this code
ConsentSDK consentSDK = new ConsentSDK(this, publisherId, privacyUrl, true);
consentSDK.checkConsent(new ConsentSDK.ConsentCallback() {
@Override
public void onResult(boolean b) {
Log.d("TAG", b + " : " );
}
});
b = false
Consent form not showing :( in logcat i see
D/ID_LOG: Unknown Consent
D/ID_LOG: User location within EEA: false