I want toremove this pop up. Because it is forbidden to collect data from children. This is for they said I have to delete it. Thanks
Yes you should also write this to support. Any way to remove the tracking feature in BB3 and BB2 exports. @Sean Buildbox This is important cause Apple will reject games with analytics integrated in them when in Kids Category. Thanx.
Here is the email I received, I must solve the problem as soon as possible. otherwise the application will be deleted by google team. NB: I haven't changed anything. i just exported the game via buildbox (with admob as ad network) re-exported it also via android studio. and thank you
I think that Consent SDK or Game Analytics SDK is against the program of families. I want to disable them. because I didn't have a level in programming to do that. I hope you find the solution.
I think when you made your updates soon you ran into the problem, the solution: you go to your admobe sitting account general blocking you activated non-personalized EU and COPR after on android studio the GDPR code leaves only these three lines .withNonPersonalizedAdsOption () .build (); form.load (); https://stackoverflow.com/questions/63231117/android-admob-eu-user-consent
implementation 'com.google.android.ads.consent:consent-library:1.0.6' 1) Java = PTPlayer = import import com.google.ads.consent.*; import java.net.MalformedURLException; import java.net.URL; 2) That Use Under = /// public class PTPlayer extends Cocos2dxActivity { private ConsentForm form; 3) ConsentInformation consentInformation = ConsentInformation.getInstance(getApplicationContext()); String[] publisherIds = {"pub-000000000000000"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated(ConsentStatus consentStatus) { // User's consent status successfully updated. boolean inEEA = ConsentInformation.getInstance(getApplicationContext()).isRequestLocationInEeaOrUnknown(); if(inEEA){ if(consentStatus == ConsentStatus.NON_PERSONALIZED || consentStatus == ConsentStatus.PERSONALIZED) { Bundle extras = new Bundle(); extras.putString("npa", "1"); PublisherAdRequest request = new PublisherAdRequest.Builder() .addNetworkExtrasBundle(AdMobAdapter.class, extras) .build(); } else { URL privacyUrl = null; try { // TODO: Replace with your app's privacy policy URL. privacyUrl = new URL("http://mywebsite.com/privacy_policy.html"); } catch (MalformedURLException e) { e.printStackTrace(); // Handle error. } form = new ConsentForm.Builder(PTPlayer.this, privacyUrl) .withListener(new ConsentFormListener() { @Override public void onConsentFormLoaded() { // Consent form loaded successfully. form.show(); } @Override public void onConsentFormOpened() { // Consent form was displayed. } @Override public void onConsentFormClosed(ConsentStatus consentStatus, Boolean userPrefersAdFree) { if(consentStatus == ConsentStatus.NON_PERSONALIZED) { Bundle extras = new Bundle(); extras.putString("npa", "1"); PublisherAdRequest request = new PublisherAdRequest.Builder() .addNetworkExtrasBundle(AdMobAdapter.class, extras) .build(); } } @Override public void onConsentFormError(String errorDescription) { // Consent form error. } }) .withNonPersonalizedAdsOption() .build(); form.load(); } } else { } } @Override public void onFailedToUpdateConsentInfo(String errorDescription) { // User's consent status failed to update. } });
hi here are the steps to follow do not forget your admobe ID Editor reference String [] publisherIds = {"your admob id here"};