diff --git a/app.config.js b/app.config.js index bb9d87e..e6a89d9 100644 --- a/app.config.js +++ b/app.config.js @@ -12,7 +12,7 @@ export default { "splash": { "image": "./assets/images/splash.png", "resizeMode": "contain", - "backgroundColor": "#ffffff" + "backgroundColor": "#000000" }, "ios": { "supportsTablet": true, diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx new file mode 100644 index 0000000..d33c05c --- /dev/null +++ b/app/(tabs)/_layout.tsx @@ -0,0 +1,16 @@ +import { Tabs } from 'expo-router'; +import { i18n } from '../i18n/i18n'; + +export default function TabLayout() { + return ( + + + + ); +} \ No newline at end of file diff --git a/app/Dashboard.tsx b/app/(tabs)/index.tsx similarity index 100% rename from app/Dashboard.tsx rename to app/(tabs)/index.tsx diff --git a/app/_layout.tsx b/app/_layout.tsx index 2ca011f..6fbffa9 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -16,7 +16,7 @@ export { export const unstable_settings = { // Ensure that reloading on `/modal` keeps a back button present. - initialRouteName: 'Dashboard', + initialRouteName: '(tabs)', }; // Prevent the splash screen from auto-hiding before asset loading is complete. @@ -50,8 +50,8 @@ function RootLayoutNav() { return ( - - + + diff --git a/assets/images/splash.png b/assets/images/splash.png index 0e89705..9184b1f 100644 Binary files a/assets/images/splash.png and b/assets/images/splash.png differ diff --git a/ios/Boxons/Info.plist b/ios/Boxons/Info.plist index 85c17f6..4ec3751 100644 --- a/ios/Boxons/Info.plist +++ b/ios/Boxons/Info.plist @@ -56,6 +56,7 @@ $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route + $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route NSUserNotificationUsageDescription Nous utilisons des notifications pour vous avertir pendant l'utilisation de l'application. diff --git a/ios/Boxons/Supporting/Expo.plist b/ios/Boxons/Supporting/Expo.plist index 6ae1247..7d57af9 100644 --- a/ios/Boxons/Supporting/Expo.plist +++ b/ios/Boxons/Supporting/Expo.plist @@ -13,4 +13,4 @@ EXUpdatesURL https://u.expo.dev/d301ba68-1a3d-44b4-937e-ada774c6f67c - + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 432ed4f..10fe2be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "expo-splash-screen": "~0.27.7", "expo-status-bar": "~1.12.1", "expo-system-ui": "~3.0.7", - "expo-updates": "~0.25.27", + "expo-updates": "~0.25.28", "expo-web-browser": "~13.0.3", "i18n-js": "^4.4.3", "react": "18.2.0", @@ -12494,9 +12494,9 @@ } }, "node_modules/expo-updates": { - "version": "0.25.27", - "resolved": "https://registry.npmjs.org/expo-updates/-/expo-updates-0.25.27.tgz", - "integrity": "sha512-1hyYZqBEXcAiEuSRPJ6dINTndGlWi6/bwlyYGjSnyoYfu/vzZQrJ+XA8JUP4EvJ3b0g8a0UOIjlDJ9ke9kMcfg==", + "version": "0.25.28", + "resolved": "https://registry.npmjs.org/expo-updates/-/expo-updates-0.25.28.tgz", + "integrity": "sha512-NTI1r7wvXel36qCzKwCjCJ9HExBo6GX9wkA9WzaNsysmg+eEd5BCmcaxvQGZUQkfDocEfI78N5vRBSuMi0iS1w==", "license": "MIT", "dependencies": { "@expo/code-signing-certificates": "0.0.5", diff --git a/package.json b/package.json index 5f6141c..01ca2e1 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "expo-splash-screen": "~0.27.7", "expo-status-bar": "~1.12.1", "expo-system-ui": "~3.0.7", - "expo-updates": "~0.25.27", + "expo-updates": "~0.25.28", "expo-web-browser": "~13.0.3", "i18n-js": "^4.4.3", "react": "18.2.0",