You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
Exception reported on several devices. (resource ID may change: #0x2040002, #0x2040003, #0x3040002, #0x3040005)
with 'com.google.android.ads.consent:consent-library:1.0.8'
mConsentForm = new com.google.ads.consent.ConsentForm.Builder(mCurrentActivity, new URL(getResources().getString(R.string.privacy_link)) )
.withListener(new com.google.ads.consent.ConsentFormListener()
{
@Override
public void onConsentFormLoaded()
{
// Consent form has loaded successfully, now show it
mConsentForm.show();
}
@Override
public void onConsentFormOpened()
{
// Consent form was displayed.
}
@Override
public void onConsentFormClosed(
com.google.ads.consent.ConsentStatus consentStatus, Boolean userPrefersAdFree )
{
// [Omissis] Our code...
mConsentForm = null;
}
@Override
public void onConsentFormError( String errorDescription )
{
// Consent form error. Would be nice to have some proper logging
Log.e( TAG, "onConsentFormError: "+errorDescription );
// [Omissis] Our code...
}
})
.withPersonalizedAdsOption()
.withNonPersonalizedAdsOption()
.withAdFreeOption()
.build();
mConsentForm.load();
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Exception reported on several devices. (resource ID may change: #0x2040002, #0x2040003, #0x3040002, #0x3040005)
with 'com.google.android.ads.consent:consent-library:1.0.8'
Here how ConsentForm is called:
The text was updated successfully, but these errors were encountered: