Comments (5)
@MrAdr68 I ran into the same problem because of the very bad documentation. Try calling the form.show() method only after the form is loaded, in onConsentFormLoaded.
from googleads-consent-sdk-android.
@mikaelvonpfaler Yes, it is very bad docs, cost me 1 hour before read your comment. They should include full docs and an sample project use this SDK.
from googleads-consent-sdk-android.
@MrAdr68 are you calling show()
on the ConsentForm
after receiving the OnConsentFormLoaded
callback? Documentation on the Consent SDK can be found on our developer docs.
from googleads-consent-sdk-android.
Yes, i have already call .show()
after receiving the OnConsentFormLoaded()
.withListener(new ConsentFormListener() { @Override public void onConsentFormLoaded() { Log.e(getPackageName(), "Form loaded"); form.show(); }
To day, it still display log: Form Error:Consent form is not ready to be displayed.
I tested on Emulator with : ConsentInformation.getInstance(this).setDebugGeography(DebugGeography.DEBUG_GEOGRAPHY_EEA);
from googleads-consent-sdk-android.
@MrAdr68 It is possible that you need to set up your payment info if not already done. I had the same issue and doing so resolved the problem.
from googleads-consent-sdk-android.
Related Issues (20)
- Please include the source code in the AAR artifact
- Setting .DEBUG_GEOGRAPHY_EEA causes requestConsentInfoUpdate to fail HOT 1
- ClassCastException - AdProvider
- Unable to resolve host "adservice.google.com" error HOT 4
- Support android-x?
- Add localized strings to the Google-rendered consent form HOT 2
- Allow consentform.html file URL to be passed in
- CCPA support
- Releases and tags sections are empty
- Please support AndroidX so we can disable Jetifier.
- Is this SDK replaced by the UMP SDK? HOT 1
- Releases section is empty
- Fatal Exception: android.content.res.Resources$NotFoundException (Android 5 and 5.1 issue)
- Fatal Exception: java.lang.IncompatibleClassChangeError Couldn't find com.google.gson.annotations.SerializedName.value
- Default branch is now `main`
- java.lang.UnsatisfiedLinkError: No implementation found for long com.android.tools.profiler.support.network.HttpTracker$Connection.nextId()
- Could not parse Event FE preflight response library 1.0.7 HOT 2
- Question: Is it ok to prevent the user from using the app if consent is not given? HOT 15
- Crash on API 21, 22 only HOT 2
- User consent triggered every time my app gets started HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googleads-consent-sdk-android.