Collect Data From Children Problem

Discussion in 'Buildbox General Discussion' started by Taxus baccata, Aug 8, 2020.

  1. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    50
    Likes Received:
    11
    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
     

    Attached Files:

    volcank likes this.
  2. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    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.
     
    Taxus baccata likes this.
  3. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    50
    Likes Received:
    11
    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

    ADS DISPAYED PROBLEM.png ADS PROBLEM.png
     
  4. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    50
    Likes Received:
    11
    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.
    vvvvv.png
     
  5. belmir

    belmir Avid Boxer

    Joined:
    Jun 29, 2018
    Messages:
    129
    Likes Received:
    45
    hi @all
    solution !!??
    [​IMG]
    [​IMG]
     
  6. belmir

    belmir Avid Boxer

    Joined:
    Jun 29, 2018
    Messages:
    129
    Likes Received:
    45
    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
     
  7. belmir

    belmir Avid Boxer

    Joined:
    Jun 29, 2018
    Messages:
    129
    Likes Received:
    45
    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.
    }
    });
     
    Last edited: Aug 15, 2020
  8. Taxus baccata

    Taxus baccata Boxer

    Joined:
    Mar 20, 2020
    Messages:
    50
    Likes Received:
    11
    Vous pouvez nous expliquer ceci en vidéo. S'il vous plaît
     
  9. belmir

    belmir Avid Boxer

    Joined:
    Jun 29, 2018
    Messages:
    129
    Likes Received:
    45
    hi
    here are the steps to follow do not forget your admobe ID Editor reference
    String [] publisherIds = {"your admob id here"};

    [​IMG] [​IMG] [​IMG]
    [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]
     
    Last edited: Aug 15, 2020
    Taxus baccata likes this.
  10. aryanveer95

    aryanveer95 Boxer

    Joined:
    Oct 7, 2015
    Messages:
    39
    Likes Received:
    15
    Hello, the images are broken. Can you re-upload please ..
     

Share This Page