Every Kukie.io site now publishes an app configuration next to its banner script: the same categories, texts, region rules and Google Consent Mode mapping your website's banner uses, as a JSON file your iOS or Android app reads. The app draws its own consent screen from it and sends each choice to the same consent log as your website. None of it needs an API key, and nothing changes in your plan.

A website and its app usually ask the same question in two different ways. The banner's texts get reviewed and translated, while the app's screen gets copied once and drifts. With the app configuration, a change you make in the Banner Editor reaches the app once its cached copy of the file runs out, within a day.

Three requests and nothing to install

The kit is a file and two endpoints your app already knows how to call. In order, your app:

  1. Reads the app configuration from https://cdn.kukie.io/s/{SITE_KEY}/app.json, the address of your banner script with app.json in place of c.js. The file is cached for a day, so read it at start-up and keep the last copy.
  2. Asks the region lookup for the person's country and region, picks the site's region rule that matches, and shows the consent screen that rule calls for, if any.
  3. Stores the person's choice on the device, passes it to the SDKs in the app, and sends it to the consent log at the address the configuration names.

The app configuration guide walks through the first two steps with Swift and Kotlin samples.

What the app configuration holds

The file is built from the same settings as the banner script and holds nothing that only a web page needs. It carries the site's cookie categories and which of them are required, the banner texts for every language the site offers (each in a plain text copy for a native screen), the region rules with their consent model and buttons, how long a choice lasts, and how each category maps to Google Consent Mode's types. Two version values tell your app when the categories changed or when you renewed every visitor's consent, so it knows when to ask again.

Every site gets the file, whatever its plan. It holds the same public information as the banner script any visitor can already download.

Records that say which app they came from

A choice sent from an app can carry three new fields: platform (ios, android, web or other), app_id (the bundle ID or application ID) and sdk_version. They show where a record came from in the consent log and its exports, and a Platform Breakdown card on the Analytics page's Overview splits the consents by platform, so you can see how people answer in the app next to the website.

The fields are what the app says about itself. They show where a record came from, but they don't prove it. Never send an advertising identifier, the IDFA or the IDFV as the visitor's ID: the guide asks for a random value your app creates and keeps.

Each record holds the choice, those identifiers, the time, a keyed hash of the IP address and the user agent, and the country. The guide to recording consent from an app lists every field.

Guides for Firebase, Apple's tracking prompt and the store forms

Google Consent Mode in Firebase apps
Start with all four consent types denied in Info.plist or AndroidManifest.xml, map the categories with the configuration's mapping, and call setConsent at every start. Google's own Consent Mode guide for apps has the platform settings. Read the Firebase guide.
Apple's tracking prompt
Show your own consent screen first, and the App Tracking Transparency prompt only once the person has allowed the category your tracking belongs to. Someone who refused never sees it, and when they decline the prompt, that answer wins.
The privacy manifest and the store forms
The store forms guide lists what each of the three requests sends to Kukie.io and what is kept, so you can describe it in your privacy manifest, the App Store privacy details and Google Play's Data safety form.

What the kit does not do

  • There is no SDK and no ready-made screen. Your app reads the file and calls the consent log in its own code.
  • The kit doesn't support the IAB Transparency and Consent Framework, which Google requires for personalised AdMob ads in the European Economic Area, the UK and Switzerland.
  • A choice made on your website and one made in your app are separate records. Kukie.io doesn't carry a choice from one to the other.
  • A Capacitor or Cordova app that bundles its pages doesn't run the banner script. It reads the configuration and sends choices from native code, like any other app.

Whether your app needs to ask at all, and for what, is a question of the law that applies to you. Mobile apps need consent even when they set no cookies explains why the ePrivacy rules reach apps too.

Short answers on consent in apps

Do I need an API key or a particular plan?

No. The app configuration, the region lookup and the consent log answer without a key, on every plan. Records are stored while the site's consent log is switched on.

Does my app need a site of its own?

No. Use the site whose banner settings the app should follow. Its records then sit in that site's consent log beside the website's.

What happens when I change the banner texts?

The site's app configuration is rebuilt with the banner, and the app gets the new texts once its cached copy runs out, within a day. To ask everyone again, use Renew now in the site's settings: the configuration's consent version changes, and the app compares it with the one stored beside the choice.

Can I use it with React Native or Flutter?

Yes. Read the file and send choices from your app's code, and send the operating system the app runs on as the platform.

Read the app configuration guide

Start with Consent in mobile apps, which shows what Kukie.io provides and what your app builds, then follow the guides in order. The feature overview shows the rest of what each site gets.