Giter Site home page Giter Site logo

Comments (5)

mikaelvonpfaler avatar mikaelvonpfaler commented on August 27, 2024 2

@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.

dzungpv avatar dzungpv commented on August 27, 2024 1

@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.

rampara avatar rampara commented on August 27, 2024

@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.

MrAdr68 avatar MrAdr68 commented on August 27, 2024

@rampara

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.

BrianGrillard avatar BrianGrillard commented on August 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.