Crosswalk + Admob + Child Directed Setting (COPPA)

Discussion and feedback on Construct 2

Post » Tue Mar 17, 2015 5:56 pm

I've been wanting the ability to use the child directed setting with Admob and I think I've finally got a work around and wanted to share in case anyone else is looking for something like this.

This is a good setting to have if you're worried about what information about users Admob is collecting from you, especially with regards to COPPA regulation.

So here's how you can try out my solution (let me know if you notice any issues with it!). When you get to the point where you are adding the Admob plugin to Intel XDK, use this one instead:

Name: Admob
Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob
Don't check the box "Plugin is located in the Apache Cordova Plugins Registry"
Repo URL: https://github.com/russellrain/com.cran ... lddirected


This is just a fork of the cranberrygame repo that is referenced by the official admob plugin. I've just added a line (builder.tagForChildDirectedTreatment(true);) that sets the child directed setting.

I can't guarantee this will work for you or that I will actively keep my fork of the plugin updated in the future, but for now hopefully this might help some of you who are looking for this same thing—hopefully someday in the future we'll get official support for this feature.

edit: I think these instructions might not work perfectly with newer versions of Intel XDK, but hopefully it's enough to get you there. I'll have to update these instructions later.
B
62
S
12
G
6
Posts: 456
Reputation: 8,944

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests