Android Question google reject app - deprecated Personalized Ad Consent SDK

samannnn

Member
i use latest sdk and b4a:
B4X:
B4A Sdk Manager: 4.00
SDK version: 6609375
B4X:
B4a Version: 10.90 BETA #1

and firebaseAdmob2.
but when i update my app, google reject my app:


i think,it is related to AdmobSdk, but why?
 
Last edited:

samannnn

Member
How are you handling the user consent? You need to use User Messaging Platform: https://www.b4x.com/android/forum/t...irebaseadmob2-google-mobile-ads-v20-0.129696/
i follow this:
should i use User Messaging Platform?
 
Upvote 0

Ohanian

Active Member
Licensed User
Longtime User
I have the same problem, app rejected 2 times, getting the same error about deprecated Personalized Ad Consent SDK.
I’m using B4A 10.60, updated SDK, FirebaseAdMob2.
My guess is that there's some reference to the old sdk in the new library.
 
Upvote 0

Ohanian

Active Member
Licensed User
Longtime User
That's correct. I want to make sure that this is the issue. You aren't using ConsentManager, right?

Should we use ConsentManager or not?!

This was in the starter :

B4X:
Sub initConsent
    
    Try

        consent.Initialize("consent")
        consent.RequestInfoUpdate(Array("pub-00000000000"))
        Wait For consent_InfoUpdated (Success As Boolean)
        If Success = False Then
'        Log($"Error getting consent state: ${LastException}"$)
        End If

    Catch
        Log(LastException)
    End Try
    
End Sub
 
Upvote 0

quimacama

Member
Licensed User
Longtime User
I have the same problem. Following the steps of
Now I use Google's User Messaging Platform and I have been rejected the apps.

 
Upvote 0

sorex

Expert
Licensed User
Longtime User
I also had this rejection of an app that was already more than a year not updated.
I thought it was because I had Tappx in it but apparently it's one of Google's own libs that they detect as outdated?

I also believe I changed or removed the family programs thing as it gives too much limitations.
 
Upvote 0

samannnn

Member

The problem is related to firebaseAmob2 library.

Of course. The deprecated SDK will be removed from FirebaseAdmob2 v1.13, which will be included in B4A v10.9.

It will be released in a few minutes.

But i cant find new firebaseadmob version 1.13
 
Upvote 0

Ohanian

Active Member
Licensed User
Longtime User
Of course. The deprecated SDK will be removed from FirebaseAdmob2 v1.13, which will be included in B4A v10.9.

It will be released in a few minutes.

My App get rejected again with the same error!
is there any way to check the apk to see if there's any reference to the deprecated sdk?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
But i cant find new firebaseadmob version 1.13
It is included in B4A v10.9: https://www.b4x.com/b4a.html

com.google.ads.consent.* were removed from FirebaseAdMob2 v1.13. You can open it with 7zip to see the classes.
It is still in FirebaseAdmob (not 2).

s there any way to check the apk to see if there's any reference to the deprecated sdk?
You can decompile the APK. There are many decompiling tools.
If you can ask the review team to send you the name of the class that they found.
 
Upvote 0

samannnn

Member

The specialists answer:

Maybe the problem is use of AdsConsent SDK,
 
Upvote 0

Ohanian

Active Member
Licensed User
Longtime User
Not yet, tomorrow i release new version that released with FirebaseAdMob2 v1.13. And I'm waiting for review.

I did it yesterday but got the same result!
waitng to get more details about the error from google.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…