[object Object]

← back to Nineoh Guide

analytics: add GoogleService-Info.plist (Firebase project guide-d4c91, GA account '90210 Guide') + force-enable analytics/crashlytics collection (plist ships IS_ANALYTICS_ENABLED=false)

5230058f5302d71acbfbde5055db1f2dd7b0beec · 2026-08-05 16:16:54 -0700 · Steve

Files touched

Diff

commit 5230058f5302d71acbfbde5055db1f2dd7b0beec
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Aug 5 16:16:54 2026 -0700

    analytics: add GoogleService-Info.plist (Firebase project guide-d4c91, GA account '90210 Guide') + force-enable analytics/crashlytics collection (plist ships IS_ANALYTICS_ENABLED=false)
---
 apps/mobile/GoogleService-Info.plist | 30 ++++++++++++++++++++++++++++++
 apps/mobile/analytics.ts             |  5 +++++
 2 files changed, 35 insertions(+)

diff --git a/apps/mobile/GoogleService-Info.plist b/apps/mobile/GoogleService-Info.plist
new file mode 100644
index 0000000..1159551
--- /dev/null
+++ b/apps/mobile/GoogleService-Info.plist
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>API_KEY</key>
+	<string>AIzaSyCH8EQgW1kXot6z6YujVj_Zt51XvP2_TjY</string>
+	<key>GCM_SENDER_ID</key>
+	<string>204831350634</string>
+	<key>PLIST_VERSION</key>
+	<string>1</string>
+	<key>BUNDLE_ID</key>
+	<string>com.abrams.nineohguide</string>
+	<key>PROJECT_ID</key>
+	<string>guide-d4c91</string>
+	<key>STORAGE_BUCKET</key>
+	<string>guide-d4c91.firebasestorage.app</string>
+	<key>IS_ADS_ENABLED</key>
+	<false></false>
+	<key>IS_ANALYTICS_ENABLED</key>
+	<false></false>
+	<key>IS_APPINVITE_ENABLED</key>
+	<true></true>
+	<key>IS_GCM_ENABLED</key>
+	<true></true>
+	<key>IS_SIGNIN_ENABLED</key>
+	<true></true>
+	<key>GOOGLE_APP_ID</key>
+	<string>1:204831350634:ios:2388416daab04ffcc58f13</string>
+</dict>
+</plist>
\ No newline at end of file
diff --git a/apps/mobile/analytics.ts b/apps/mobile/analytics.ts
index bb9f30f..714c2c3 100644
--- a/apps/mobile/analytics.ts
+++ b/apps/mobile/analytics.ts
@@ -11,6 +11,11 @@ import crashlytics from "@react-native-firebase/crashlytics";
 let ready = true;
 try {
   analytics();
+  // GoogleService-Info.plist ships with IS_ANALYTICS_ENABLED=false (Firebase's
+  // conservative iOS default), so turn collection on explicitly — otherwise no
+  // events reach GA4. Crashlytics likewise.
+  analytics().setAnalyticsCollectionEnabled(true);
+  crashlytics().setCrashlyticsCollectionEnabled(true);
 } catch {
   ready = false;
 }

← 6803c9d auto-save: 2026-08-05T16:13:44 (2 files) — pnpm-lock.yaml pn  ·  back to Nineoh Guide  ·  Fix EAS install: remove malformed allowBuilds block from pnp 5613efd →