Android Question Tappx and GDRP consent

06Pierrick06

Member
Licensed User
Hi,

I used this article to configure Tappx in my new application.
https://www.b4x.com/android/forum/threads/tappx-ads-service.90624/#post-579945

All works pretty well except the GDPR aspect.

When I add this code proposed in this same article, no consent form is automatically displayed and Ads do not appear anymore.
If I remove this code I get Ads but I understand that without GDPR consent I'm limited in Ads (and incomes).

Any idea ?

B4X:
Dim tappx As JavaObject
tappx.InitializeStatic("com.tappx.sdk.android.Tappx")
Dim ctxt As JavaObject
ctxt.InitializeContext
Dim PrivacyManager As JavaObject = tappx.RunMethod("getPrivacyManager", Array(ctxt))

NB : I also tried this with same bad result :
B4X:
Dim PrivacyManager As JavaObject = tappx.RunMethod("setAutoPrivacyDisclaimerEnabled", Array(ctxt))

or this :
B4X:
Dim PrivacyManager As JavaObject = tappx.RunMethod("checkAndShowPrivacyDisclaimer", Array(ctxt))
 

06Pierrick06

Member
Licensed User
Yes Erel, I'm located in France.

Nothing happened with this code : no disclaimer screen, no ads displayed
If I comment these lines, ads are back (banner + interstitial) but always the same is displayed. (Joon)
 
Upvote 0
Top