googleads-consent-sdk-android
googleads-consent-sdk-android copied to clipboard
Consent SDK
Hey genius, Care to update to android-x?
Hi, In my app, this line throws an Exception: ``` for (AdProvider adProvider: ConsentInformation.getInstance(MainActivity.this).getAdProviders()) { ... } ``` Exception: ``` Fatal Exception: java.lang.ClassCastException: com.google.gson.t.g cannot be cast to com.google.ads.consent.AdProvider at...
android.view.WindowManager$BadTokenException: at android.view.ViewRootImpl.setView (ViewRootImpl.java:953) at android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:381) at android.view.WindowManagerImpl.addView (WindowManagerImpl.java:100) at android.app.Dialog.show (Dialog.java:420) at com.google.ads.consent.ConsentForm.show (ConsentForm.java:353 This crash happens in 0.7% of my sessions so is quite a big issue....
some time it load forever .
implementation 'com.google.android.ads.consent:consent-library:1.0.7'
Hello, Can someone please assist me with an issue I am having when using the .DEBUG_GEOGRAPHY_EEA When I set the DebugGeography.DEBUG_GEOGRAPHY_NOT_EEA the requestConsentInfoUpdate returns successfully however if I then set...
ConsentInformation.isRequestLocationInEeaOrUnknown returns false if requestConsentInfoUpdate was 1) not called or 2) did not succeed. This is because ConsentData.isRequestLocationInEeaOrUnknown is set to false in its constructor, which is plainly wrong, as...
Since October 17 2019 or so the users of my app are confronted with the consent dialog each time they start my app, over and over again. Class ConsentInformation has...
Consent state resets to UKNOWN after every requestConsentInfoUpdate in 4.4 / KitKat (Samsung N7100)
equals() always returns false: ``` if (!consentData.getAdProviders().equals(consentData.getConsentedAdProviders()) || hasNonPersonalizedPublisherIdChanged) { consentData.setConsentStatus(ConsentStatus.UNKNOWN); consentData.setConsentedAdProviders(new HashSet()); } ``` Data structure dump from debugger: [debug-dump-4.4.txt](https://github.com/googleads/googleads-consent-sdk-android/files/2035777/debug-dump-4.4.txt)
That would make it easier to debug the library in Android Studio.