mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
feat(mobile): add expo-observe update health tracking
Install expo-observe (56.0.29, matching the SDK 56 line) and configure its endpoint under expo.extra.eas.observe in app.json, alongside the existing EAS projectId. Leave dispatchInDebug and sampleRate at their defaults. Log an app_started custom event once per cold start from the root layout's existing "run once" startup effect, and install a global JS error handler that logs xprem_js_crash and then always delegates to whatever handler was previously registered, so existing Crashlytics reporting is unaffected. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6bc4e31719
commit
659cee76b6
4 files changed
+197
-21
No files matched your search
+12
-7
@@ -7,12 +7,6 @@
|
||||
"icon": "./assets/icon.png",
|
||||
"scheme": "app.sauci",
|
||||
"userInterfaceStyle": "automatic",
|
||||
"newArchEnabled": true,
|
||||
"splash": {
|
||||
"image": "./assets/splash-icon.png",
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#1a1a2e"
|
||||
},
|
||||
"ios": {
|
||||
"supportsTablet": false,
|
||||
"bundleIdentifier": "com.sauci.app",
|
||||
@@ -223,6 +217,14 @@
|
||||
},
|
||||
"plugins": [
|
||||
"./plugins/withFixHoisting.js",
|
||||
[
|
||||
"expo-splash-screen",
|
||||
{
|
||||
"image": "./assets/splash-icon.png",
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#1a1a2e"
|
||||
}
|
||||
],
|
||||
"@react-native-firebase/app",
|
||||
[
|
||||
"expo-build-properties",
|
||||
@@ -320,7 +322,10 @@
|
||||
"origin": false
|
||||
},
|
||||
"eas": {
|
||||
"projectId": "807ca0af-e9bd-40e8-a658-f3382072c724"
|
||||
"projectId": "807ca0af-e9bd-40e8-a658-f3382072c724",
|
||||
"observe": {
|
||||
"endpointUrl": "https://ota.apps.jbrunton.co.uk/observe/9a66f3c2-fda7-416f-87e2-6db833b32e9d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"owner": "jjbrunton-apps"
|
||||
|
||||
Reference in new issue
Block a user