fix: remove App Tracking Transparency (ATT) from native analytics flow

- Drop `expo-tracking-transparency` dependency and plugin config from `app.json`
- Replace `applyTrackingTransparency` with `initAnalytics()` that simply syncs PostHog opt-in/out from the stored preference on startup
- Remove ATT permission prompt, IDFA/AAID identification, and one-time migration logic from `posthog.ts`
- Analytics now starts disabled on both iOS and Android; user opts in via Settings toggle
- Update telemetry docs and privacy policy to reflect the simplified consent flow (no ATT prompt, no advertising IDs)
This commit is contained in:
2026-03-22 19:03:28 -04:00
parent ddaa194f5d
commit 9df1075040
7 changed files with 23 additions and 100 deletions
-6
View File
@@ -108,12 +108,6 @@
}
],
"expo-localization",
[
"expo-tracking-transparency",
{
"userTrackingPermission": "This identifier will be used to measure app performance and improve your experience."
}
],
[
"expo-widgets",
{