Android Question [SOLVED] Ad consent and 4.4.x devices issue

Discussion in 'Android Questions' started by Rubsanpe, Jun 14, 2019.

  1. Rubsanpe

    Rubsanpe Member Licensed User

    Hi. I'm testing the ad consent. It works correctly on devices with Android 5 and above, but I'm having problems with 4.4.x devices. In that case it runs the verification of consent and the response in the log is

    *** Service (starter) Create ***
    data base ok
    Service (starter) Start **
    Activity (main) Create, isFirst = true **
    Consent state: UNKNOWN
    And in some cases the consent form is shown and in a higher proportion the consent is not shown and the advertising banner is shown directly without having accepted anything.

    Is the behavior normal?

    I have tested in those devices 4.4.x with examples developed with other tools and in those cases it works correctly.

  2. sorex

    sorex Expert Licensed User

    their consent lib is full of bugs.

    it's best to use your own dialogs and show it for EU users and store the selected setting and read it back in at the next app start.
  3. Rubsanpe

    Rubsanpe Member Licensed User

    Hello. I have tried other tools that also implement the consent form. With them it works well in those same devices.

    I will try to implement the form myself.
  4. Rubsanpe

    Rubsanpe Member Licensed User

  5. sorex

    sorex Expert Licensed User

    Well done.

    If I recall right you might get with 'their' method multiple dialogues depending on which ad provider delivers the ad.
    So you need to confirm it for all of them.
    So it appears that it didn't save the state earlier.

    Doing it yourself is a one time user request.
  6. Rubsanpe

    Rubsanpe Member Licensed User

    Hello. Right now my project only uses Admob at this moment, so it's something standard.

    The only problem with creating my own consent form is how to show the publishers of the ads, because you have to give the user the option to accept all of them, so their names must appear on the form. The official Google form automatically shows those names, and with the library you have a function to get that list of names (the famous initial limit of 12 names), however I have not seen that option in the B4x library.


  7. sorex

    sorex Expert Licensed User

    you don't need to list those ad providers. as long as you use adrequestbuilder with the settings the user selected you're fine.
  8. Rubsanpe

    Rubsanpe Member Licensed User

    ok thanks.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice