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
+18
-3
@@ -19,6 +19,7 @@
|
||||
"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",
|
||||
@@ -2533,9 +2534,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@expo/config-plugins": {
|
||||
"version": "57.0.6",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-57.0.6.tgz",
|
||||
"integrity": "sha512-7CmKrS5Rnu8aSZyNlxH2qzA7Ls1HEa4EQvEVOAkHDKPr1e4Cg/nz7I7dUl09QDTVjMvkKYDH4Th0DuAsgqASaw==",
|
||||
"version": "57.0.7",
|
||||
"resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-57.0.7.tgz",
|
||||
"integrity": "sha512-jvXMiNuH8W7fmU9yCk4/jVwDX2G/5rWUg5PZ22mriccEeQVS9HJjQiUHivMaK6MxEG5L9f0RPScxe/nQfnpQvg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@expo/config-types": "^57.0.2",
|
||||
@@ -5736,6 +5737,20 @@
|
||||
"node": ">=20.16.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen": {
|
||||
"version": "57.0.6",
|
||||
"resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-57.0.6.tgz",
|
||||
"integrity": "sha512-FY0E7hMyXVAsNh18yGzIjdooPXdjafalEb6mk2EcqNPjXspHuu+pVEhUscEunw4wF8F/w6MOpT7UfOwHVWez9g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@expo/config-plugins": "~57.0.7",
|
||||
"@expo/image-utils": "^0.11.4",
|
||||
"xml2js": "0.6.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"expo": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-sqlite": {
|
||||
"version": "57.0.1",
|
||||
"resolved": "https://registry.npmjs.org/expo-sqlite/-/expo-sqlite-57.0.1.tgz",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user