I am going to have ads in my app, so I am crazy with the GDPR consent. That is why I am asking for help.
I have read many (many) webpages about the GDPR but they are way too confusing for my small brain. So I would like to know if someone here can show some light. First of all, I want the simplest solution. I don't want the user to choose what to do or not. I mean, my app's first screen will display the EULA and the Cookie Consent. If the user accepts them then the app continues, if not, the app is closed. That is what it is. I think people is too crazy about having their privacy stollen just because of displaying ads. If they are so afraid, they could purchase the paid app without ads.
Of course my app doesn't take any private data (no contacts, no calls, no location) and doesn't share it with any third parties. It is just a regular app that wants to display ads in a legal way.
I have found and encoding problem according to the consent in IAB format. I think it is a long chain of 0 or 1 depending on the different situations. Can anyone help how to code that?
I will show the user some text like this:
You must read and agree the End User Licence Agreement (EULA) and the Cookie Consent to continue.
Cookie consent:
European laws require that digital publishers give user of apps information about their use of COOKIES and other forms of local storage. You must agree the next consent to continue: We use device identifiers, location data, and other demographic and interest data to personalise content and ads, to provide media features and to analyse our traffic. We also share such identifiers and other information from your device with our advertising and analytics partners (which are InMobi.com, Smaato, StartAp and Flurry).
Maybe the first question is: Do I really need to code a consent in IAB format?
Many ads company ask for it. For example InMobi:
JSONObject consentObject = new JSONObject();
try {
// Provide correct consent value to sdk which is obtained by User
consentObject.put(InMobiSdk.IM_GDPR_CONSENT_AVAILABLE, true);
// Provide 0 if GDPR is not applicable and 1 if applicable
consentObject.put("gdpr", "1");
// Provide user consent in IAB format
consentObject.put(InMobiSdk.IM_GDPR_CONSENT_IAB, “<<consent in IAB format>>”);
} catch (JSONException e) {
}
InMobiSdk.init(this, "Insert InMobi Account ID here", consentObject);
One last question: As far as I know, GDPR consent must be shown only for Europeans, why do I know in my app if the user is currently in Europe or in the USA?