Repository navigation
Description
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:
- 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_recordssemantics stay the same for accounts that also use web. - 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.
- ATT. Only if the SDKs in the binary actually track across apps (they don't today, as far as the manifest shows — no
NSUserTrackingUsageDescriptionis 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
- The native first-run experience has either no consent UI or one written for an app, decided and recorded
CookieConsentProvider.native.tsxreflects that decision (banner removed, or replaced), and the web provider is untouched- Epic: iOS and Android store readiness — what actually blocks shipping 1.17.1 #728's "native has no cookie banner" line corrected
Screenshots from the pass are attached on #373.
Activity
fix(native): the map was black in every iOS release, Office tables th…