Android Question FirebaseAdmob2 2.13 and consent status fetch not working

sorex

Expert
Licensed User
Longtime User
Hello,

I've spend some time to get the new admob lib and the consent check implemented and couldn't get it to work.

When trying @Jack Cole 's B4XPages and Native activity examples I noticed that the B4XPages works right and the Native one can't pull the consent status.

It always give the error...

B4X:
** Activity (main) Resume **
After MobileAds_Ready
onConsentInfoUpdateFailure: Publisher misconfiguration: Failed to read publisher's account configuration; please check your configured app ID. Received app ID: `ca-app-pub-3940256099942544~3347511713`., code: 3
Consent: UNKNOWN

now comes the strange part...

when I use the app id from the B4XPages one (Erel's smiley one) and put it in the failing Native one the check suddenly works right.

when copying the code into an existing app where ad serving works fine it also fails to get the consent status.

so what identifies an app to make this work or not?

do I need to enable something in admob?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…