iOS Question Problem with iAdMob and User Consent

quimacama

Member
Licensed User
Longtime User
I live in the European Union, but if I comment this line:

B4X:
consent.SetDebugGeography (True) 'comment for regular operation

the consent form stops appearing. I use version 1.60 of iAdmob, and follow the instructions of this thread.
 

quimacama

Member
Licensed User
Longtime User
What is the output of these lines:
B4X:
Log($"Consent state: ${consent.ConsentState}"$) '0 - UNKNOWN, 1 - NON_PERSONALIZED, 2 - PERSONALIZED
Log(consent.IsRequestLocationInEeaOrUnknown)

B4X:
Log("consent.ConsentState  " & consent.ConsentState & " consent.IsRequestLocationInEeaOrUnknown " & consent.IsRequestLocationInEeaOrUnknown)

consent.ConsentState 0 consent.IsRequestLocationInEeaOrUnknown false

If I live in Spain, should not return True?
Is this a problem from my application, from the library or from Admob?
 
Upvote 0
Top