chore: update build config, Sentry setup, and WearOS app ID

This commit is contained in:
2026-08-08 15:43:42 +02:00
parent 7ae2711e4b
commit 3d4ee831c4
9 changed files with 23 additions and 17 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ SENTRY_PROJECT=swimbuddy
SENTRY_AUTH_TOKEN=your-auth-token
# Firebase App Distribution (WearOS)
FIREBASE_WEAR_APP_ID=1:xxxxx:android:xxxxx
FIREBASE_WEAR_APP_ID=1:404955511024:android:3fac1d3a237f1791b96a35
+5
View File
@@ -18,6 +18,9 @@ expo-env.d.ts
*.key
*.mobileprovision
# Firebase
google-services.json
# Metro
.metro-health-check*
@@ -44,3 +47,5 @@ sentry.properties
# generated native folders
/ios
/android
/google-services.json
+2 -2
View File
@@ -43,9 +43,9 @@
["expo-localization", {
"supportedLocales": ["en", "nl", "de", "fr", "it", "es", "pl", "pt", "dk"]
}],
"./modules/wear-connectivity",
"@sentry/react-native/expo",
"expo-updates"
"expo-updates",
"expo-system-ui"
],
"extra": {
"eas": {
+6 -8
View File
@@ -9,7 +9,7 @@
"distribution": "internal"
},
"preview": {
"distribution": "store",
"distribution": "internal",
"autoIncrement": true
},
"production": {
@@ -17,14 +17,12 @@
}
},
"submit": {
"production": {}
},
"update": {
"preview": {
"channel": "preview"
"android": {
"serviceAccountKeyPath": "./google-services.json",
"track": "internal"
}
},
"production": {
"channel": "production"
}
"production": {}
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
const { getDefaultConfig } = require("expo/metro-config");
const { withNativewind } = require("nativewind/metro");
const { withSentry } = require("@sentry/react-native/metro");
const { withSentryConfig } = require("@sentry/react-native/metro");
/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);
@@ -15,7 +15,7 @@ config.transformer.getTransformOptions = async () => ({
},
});
module.exports = withSentry(withNativewind(config, {
module.exports = withSentryConfig(withNativewind(config, {
// Ensure .sql files are not processed as CSS
inlineRem: false,
}));
-2
View File
@@ -33,12 +33,10 @@
"@types/react": "~19.2.2",
"babel-plugin-inline-import": "^3.0.0",
"drizzle-kit": "^0.31.10",
"patch-package": "^8.0.1",
"tailwindcss": "^4",
"typescript": "~6.0.3"
},
"scripts": {
"postinstall": "patch-package",
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
+5 -1
View File
@@ -5,7 +5,11 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
# Load .env file
if [ -f "$PROJECT_ROOT/.env" ]; then
if [ -f "$PROJECT_ROOT/.env.local" ]; then
set -a
source "$PROJECT_ROOT/.env.local"
set +a
elif [ -f "$PROJECT_ROOT/.env" ]; then
set -a
source "$PROJECT_ROOT/.env"
set +a
+1 -1
View File
@@ -10,7 +10,7 @@ android {
compileSdk = 35
defaultConfig {
applicationId = "nl.guidoit.swimbuddy"
applicationId = "nl.guidoit.swimbuddy.wear"
minSdk = 30
targetSdk = 35
versionCode = 1
+1
View File
@@ -2,6 +2,7 @@
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true,
"ignoreDeprecations": "6.0",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],