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