Skip to content
Start free Sign in

Consent in mobile apps

Last updated

An iOS or Android app that draws its own consent screens can use the banner settings and the consent log of one of your Kukie.io sites. You build the screens and decide when each SDK in your app may run; Kukie.io gives you the configuration and keeps the records. These guides are for the developer of the app.

What Kukie.io provides

  1. Your app configuration, a file beside your banner script with the site's categories, texts, region rules and Google Consent Mode mapping: Fetch your app configuration.
  2. A region lookup that tells your app which of the site's region rules applies to the person: in the same guide.
  3. The consent log: your app sends each choice, and it is stored with the site's other consent records: Record consent from an app.

None of the three needs an API key. The app posts to the same address as your website's banner, so its records appear in the site's consent log and its exports. Use the site whose banner settings your app follows.

What you build in your app

  • The consent screens, with the texts and buttons from the configuration.
  • Keeping the person's choice on the device, and a way for them to change it later, for example in your app's settings.
  • Applying the choice to the SDKs in your app: Google Consent Mode in Firebase apps shows it for Firebase.
  • Apple's tracking prompt and the store privacy forms: Tracking prompt and store privacy forms.

What Kukie.io doesn't provide

  • No SDK and no ready-made screens. Kukie.io doesn't provide an SDK for iOS or Android. Your app reads the configuration and calls the consent log in its own code, and it passes each choice to Firebase and to any other SDK itself.
  • No IAB TCF. Kukie.io doesn't support the IAB Transparency and Consent Framework. To show personalised ads from AdMob, Ad Manager or AdSense to people in the EEA, the UK or Switzerland, Google requires a Google-certified CMP integrated with the TCF (Google's AdMob help). Google's User Messaging Platform (UMP) SDK is one. The TCF lets an app initialise only one CMP SDK.
  • No link between your website and your app. A choice made on your website and one made in your app are separate records, with separate visitor identifiers. Kukie.io doesn't carry a choice from one to the other.

Hybrid apps

A Capacitor or Cordova app that bundles its pages doesn't run your banner script: the script works only on your site's own domain, and these apps serve their pages from localhost or from files on the device. A fetch() to the consent log from a page served from localhost is refused with 403, because its Origin header names localhost, not your domain. A page loaded from a file on the device sends Origin: null, and the consent log accepts that request like one without an Origin header. Cordova on iOS loads its pages from files before version 8 unless the app sets its scheme preference, and from version 8 only when the app sets scheme to file. Read the configuration and send the choice from the app's native code, as a native app does. This works whichever way your app serves its pages. An app that opens your live website over https in a WebView gets your website's banner, like any visitor.

What Kukie.io stores

Each record holds the choice, the identifiers your app sends, the time, a keyed hash of the IP address and of the user agent, and the country the IP address belongs to. Requests that reach Kukie.io's servers also appear in its technical server logs with their IP address and user agent. Record consent from an app lists every field, and the Data Processing Agreement describes how consent records are processed and how long they are kept.

Was this helpful?

Listed on