Skip to content

Native app shows the web "This site uses cookies" banner on every screen — decide what consent native collects #764

Closed

Description

@thinkclay

Found on the first native iPad pass for #373 (iPad Pro 13" simulator, SDK 56 dev client built from main).

What a reviewer sees

The first screen of the native app — before login — carries a bottom sheet titled "This site uses cookies" with Manage / Accept / Reject, and it stays pinned across every screen (login, dashboard, jobs, workers, profile) until answered.

That copy is wrong on iOS/Android in three ways at once: it is not a site, the app sets no cookies, and Apple's mechanism for tracking consent is App Tracking Transparency, not a cookie banner. App Review does read this kind of thing; at minimum it reads as an unfinished web port, and if the reviewer connects it to analytics it invites the ATT question.

Where it comes from

packages/scf-core/provider/cookie-consent/CookieConsentProvider.native.tsx:93 mounts <CookieConsentBanner /> deliberately — the native provider is a full copy of the web one, with its own recordConsentToDb() writing consent_records rows tagged ReactNative/ios and device_type: mobile. So this is not a missing Platform.OS guard; someone chose to collect the same consent on native, and reused the web banner to do it.

The epic (#728) states "native … has no cookie banner" as a reason #452 is web-only. That was wrong: native has the banner, just not the persistence bug.

The decision this needs

What consent, if any, native should collect — and this is the product/legal call, not an engineering one:

  1. None on native. PostHog on native is first-party analytics; if no cross-app tracking is done, ATT is not required and no consent UI is needed. Drop the banner from the native provider, keep the provider so consent_records semantics stay the same for accounts that also use web.
  2. Analytics opt-in on native, phrased for an app. Keep a first-run prompt, but with app copy ("Help improve Scaffald by sharing anonymous usage data"), shown once, not a "site uses cookies" sheet pinned to every screen.
  3. ATT. Only if the SDKs in the binary actually track across apps (they don't today, as far as the manifest shows — no NSUserTrackingUsageDescription is declared).

Option 1 is the smallest change and the most defensible in review. Whatever is picked, the expo-tracking-transparency / NSUserTrackingUsageDescription answer should be written down in docs/agents/RELEASE-PROCESS.md next to the Data Safety / privacy-nutrition answers, because Play's Data Safety form and App Store's privacy labels both ask.

Acceptance

Screenshots from the pass are attached on #373.

Activity

  1. added
    bug
    mobile
    needs-design
    on Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compliancebugmobileneeds-design

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions