feat: add expo-splash-screen configuration
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "./global.css";
|
||||
import "./src/i18n";
|
||||
import * as SplashScreen from "expo-splash-screen";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import { NavigationContainer } from "@react-navigation/native";
|
||||
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
||||
@@ -10,6 +11,8 @@ import { useWatchWorkoutSync } from "./src/features/watch-connectivity/hooks/use
|
||||
import { useSystemLanguageListener } from "./src/i18n";
|
||||
import * as Sentry from "@sentry/react-native";
|
||||
|
||||
SplashScreen.preventAutoHideAsync();
|
||||
|
||||
Sentry.init({
|
||||
dsn: "https://6197bcf085d63727d829aa89ede8e973@o4507430203293696.ingest.de.sentry.io/4511875297706064",
|
||||
tracesSampleRate: 1.0,
|
||||
|
||||
@@ -40,12 +40,33 @@
|
||||
"plugins": [
|
||||
"expo-sqlite",
|
||||
"@bacons/apple-targets",
|
||||
["expo-localization", {
|
||||
"supportedLocales": ["en", "nl", "de", "fr", "it", "es", "pl", "pt", "dk"]
|
||||
}],
|
||||
[
|
||||
"expo-localization",
|
||||
{
|
||||
"supportedLocales": [
|
||||
"en",
|
||||
"nl",
|
||||
"de",
|
||||
"fr",
|
||||
"it",
|
||||
"es",
|
||||
"pl",
|
||||
"pt",
|
||||
"dk"
|
||||
]
|
||||
}
|
||||
],
|
||||
"@sentry/react-native/expo",
|
||||
"expo-updates",
|
||||
"expo-system-ui"
|
||||
"expo-system-ui",
|
||||
[
|
||||
"expo-splash-screen",
|
||||
{
|
||||
"image": "./assets/splash-icon.png",
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#5BC0F8"
|
||||
}
|
||||
]
|
||||
],
|
||||
"extra": {
|
||||
"eas": {
|
||||
|
||||
Generated
+10281
-10266
File diff suppressed because it is too large
Load Diff
+60
-59
@@ -1,61 +1,62 @@
|
||||
{
|
||||
"name": "swimbuddy",
|
||||
"version": "1.0.0",
|
||||
"main": "index.ts",
|
||||
"dependencies": {
|
||||
"@bacons/apple-targets": "^5.0.0",
|
||||
"@expo/vector-icons": "^15.0.2",
|
||||
"@react-navigation/bottom-tabs": "^7.18.14",
|
||||
"@react-navigation/native": "^7.3.14",
|
||||
"@react-navigation/native-stack": "^7.18.6",
|
||||
"@sentry/react-native": "^8.22.0",
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"drizzle-orm": "^0.45.2",
|
||||
"expo": "~57.0.10",
|
||||
"expo-application": "~57.0.2",
|
||||
"expo-localization": "~57.0.1",
|
||||
"expo-sqlite": "~57.0.1",
|
||||
"expo-status-bar": "~57.0.1",
|
||||
"expo-system-ui": "~57.0.2",
|
||||
"expo-updates": "^57.0.12",
|
||||
"i18next": "^26.3.6",
|
||||
"nativewind": "^5.0.0-preview.4",
|
||||
"react": "19.2.3",
|
||||
"react-i18next": "^17.0.11",
|
||||
"react-native": "0.86.2",
|
||||
"react-native-css": "^3.0.7",
|
||||
"react-native-gesture-handler": "~2.32.0",
|
||||
"react-native-mmkv": "^4.3.2",
|
||||
"react-native-reanimated": "4.5.1",
|
||||
"react-native-safe-area-context": "~5.7.0",
|
||||
"react-native-screens": "~4.26.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "~19.2.2",
|
||||
"babel-plugin-inline-import": "^3.0.0",
|
||||
"drizzle-kit": "^0.31.10",
|
||||
"tailwindcss": "^4",
|
||||
"typescript": "~6.0.3"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
"android": "expo run:android",
|
||||
"ios": "expo run:ios",
|
||||
"web": "expo start --web",
|
||||
"db:generate": "drizzle-kit generate",
|
||||
"prebuild": "expo prebuild && npm run eas-build-post-install",
|
||||
"prebuild:clean": "expo prebuild --clean && npm run eas-build-post-install",
|
||||
"eas-build-post-install": "node scripts/add-sentry-watch.js",
|
||||
"build:wearos:debug": "./scripts/build-wearos.sh debug",
|
||||
"build:wearos:release": "./scripts/build-wearos.sh release",
|
||||
"deploy:ios": "eas build --platform ios --profile ${1:-preview} && eas submit --platform ios --profile ${1:-preview}",
|
||||
"deploy:android": "eas build --platform android --profile ${1:-preview} && eas submit --platform android --profile ${1:-preview}",
|
||||
"deploy:wearos": "./scripts/build-wearos.sh release ${2:-}",
|
||||
"update": "eas update --branch ${1:-preview}",
|
||||
"update:production": "eas update --branch production"
|
||||
},
|
||||
"private": true,
|
||||
"overrides": {
|
||||
"lightningcss": "1.30.1"
|
||||
}
|
||||
"name": "swimbuddy",
|
||||
"version": "1.0.0",
|
||||
"main": "index.ts",
|
||||
"dependencies": {
|
||||
"@bacons/apple-targets": "^5.0.0",
|
||||
"@expo/vector-icons": "^15.0.2",
|
||||
"@react-navigation/bottom-tabs": "^7.18.14",
|
||||
"@react-navigation/native": "^7.3.14",
|
||||
"@react-navigation/native-stack": "^7.18.6",
|
||||
"@sentry/react-native": "^8.22.0",
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"drizzle-orm": "^0.45.2",
|
||||
"expo": "~57.0.10",
|
||||
"expo-application": "~57.0.2",
|
||||
"expo-localization": "~57.0.1",
|
||||
"expo-splash-screen": "~57.0.6",
|
||||
"expo-sqlite": "~57.0.1",
|
||||
"expo-status-bar": "~57.0.1",
|
||||
"expo-system-ui": "~57.0.2",
|
||||
"expo-updates": "^57.0.12",
|
||||
"i18next": "^26.3.6",
|
||||
"nativewind": "^5.0.0-preview.4",
|
||||
"react": "19.2.3",
|
||||
"react-i18next": "^17.0.11",
|
||||
"react-native": "0.86.2",
|
||||
"react-native-css": "^3.0.7",
|
||||
"react-native-gesture-handler": "~2.32.0",
|
||||
"react-native-mmkv": "^4.3.2",
|
||||
"react-native-reanimated": "4.5.1",
|
||||
"react-native-safe-area-context": "~5.7.0",
|
||||
"react-native-screens": "~4.26.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "~19.2.2",
|
||||
"babel-plugin-inline-import": "^3.0.0",
|
||||
"drizzle-kit": "^0.31.10",
|
||||
"tailwindcss": "^4",
|
||||
"typescript": "~6.0.3"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
"android": "expo run:android",
|
||||
"ios": "expo run:ios",
|
||||
"web": "expo start --web",
|
||||
"db:generate": "drizzle-kit generate",
|
||||
"prebuild": "expo prebuild && npm run eas-build-post-install",
|
||||
"prebuild:clean": "expo prebuild --clean && npm run eas-build-post-install",
|
||||
"eas-build-post-install": "node scripts/add-sentry-watch.js",
|
||||
"build:wearos:debug": "./scripts/build-wearos.sh debug",
|
||||
"build:wearos:release": "./scripts/build-wearos.sh release",
|
||||
"deploy:ios": "eas build --platform ios --profile ${1:-preview} && eas submit --platform ios --profile ${1:-preview}",
|
||||
"deploy:android": "eas build --platform android --profile ${1:-preview} && eas submit --platform android --profile ${1:-preview}",
|
||||
"deploy:wearos": "./scripts/build-wearos.sh release ${2:-}",
|
||||
"update": "eas update --branch ${1:-preview}",
|
||||
"update:production": "eas update --branch production"
|
||||
},
|
||||
"private": true,
|
||||
"overrides": {
|
||||
"lightningcss": "1.30.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user