Android Question No permission form to display personalized ads

kisoft

Well-Known Member
Licensed User
Longtime User
HI
The situation described in this thread:
https://www.b4x.com/android/forum/threads/problem-c-android-platforms-android-28-android-jar.97614/

The application is already in the google store, and everything works well in that version. I prepared a few changes and wanted to update. After changing the path on android-28 and updating SDK packages, I have a problem with displaying the user consent form to display personalized ads.
B4X:
*** Service (starter) Create ***
Device locale: pl
Found 50 strings.
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Class not found: b4a.example.klasa1, trying: finder.finder.klasa1
Found 50 strings.
** Activity (main) Resume **
Found 50 strings.
RECIVE SMS OK
Consent state: UNKNOWN
EU: true
SEND SMS OK
access lOCATION OK
phone id: anywheresoftware.b4a.phone.Phone$PhoneId@70ef4c9
** Activity (main) Pause, UserClosed = false **
** Activity (langactv) Create, isFirst = true **
Found 50 strings.
** Activity (langactv) Resume **
** Activity (langactv) Pause, UserClosed = false **
** Activity (polprywat) Create, isFirst = true **
Found 50 strings.
 

kisoft

Well-Known Member
Licensed User
Longtime User
Hi

B4X:
Consent state: UNKNOWN
EU: true
The phone is in EU and the consent status is unknown.
The user consent form is not displayed for displaying personalized ads. I have already made my own consent form.
I am inquisitive, which is why I am anxious that the original consent form is not displayed.
 
Upvote 0

Pendrush

Well-Known Member
Licensed User
Longtime User
In production (without test device ID) when user select something on consent form, form will not show any more. You need to add privacy link in menu, for example, to show form again, as per GDPR user must have option to opt-in and opt-out at any time.
 
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
In production (without test device ID) when user select something on consent form, form will not show any more. You need to add privacy link in menu, for example, to show form again, as per GDPR user must have option to opt-in and opt-out at any time.

The consent form is never displayed, even in the first installation. Is this not a problem new SDK packages?

I'm not entirely sure but when the status of consent is unknown, no ads are displayed in EU countries.
 
Last edited:
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
HI
Thank you for your answer

It works here in test mode and with the latest versions of Firebase libraries.
Put a breakpoint in ConsentStateAvailable and see what happens.

As recommended, I will test everything thoroughly and give an answer
 
Upvote 0
Top