This commit is contained in:
Milan Paunovic
2024-12-04 21:17:23 +01:00
parent 1b288d095f
commit 771dba9658
7 changed files with 1073 additions and 1092 deletions

View File

@ -1,4 +1,5 @@
package com.cally.app package com.cally.app
import expo.modules.splashscreen.SplashScreenManager
import android.os.Build import android.os.Build
import android.os.Bundle import android.os.Bundle
@ -15,7 +16,10 @@ class MainActivity : ReactActivity() {
// Set the theme to AppTheme BEFORE onCreate to support // Set the theme to AppTheme BEFORE onCreate to support
// coloring the background, status bar, and navigation bar. // coloring the background, status bar, and navigation bar.
// This is required for expo-splash-screen. // This is required for expo-splash-screen.
setTheme(R.style.AppTheme); // setTheme(R.style.AppTheme);
// @generated begin expo-splashscreen - expo prebuild (DO NOT MODIFY) sync-f3ff59a738c56c9a6119210cb55f0b613eb8b6af
SplashScreenManager.registerOnActivity(this)
// @generated end expo-splashscreen
super.onCreate(null) super.onCreate(null)
} }

View File

@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">\"Cally \"</string> <string name="app_name">"Cally "</string>
<string name="expo_splash_screen_resize_mode" translatable="false">contain</string> <string name="expo_splash_screen_resize_mode" translatable="false">contain</string>
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string> <string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
<string name="expo_system_ui_user_interface_style" translatable="false">light</string> <string name="expo_system_ui_user_interface_style" translatable="false">light</string>

View File

@ -11,7 +11,9 @@
<item name="android:textColorHint">#c8c8c8</item> <item name="android:textColorHint">#c8c8c8</item>
<item name="android:textColor">@android:color/black</item> <item name="android:textColor">@android:color/black</item>
</style> </style>
<style name="Theme.App.SplashScreen" parent="AppTheme"> <style name="Theme.App.SplashScreen" parent="Theme.SplashScreen">
<item name="android:windowBackground">@drawable/splashscreen</item> <item name="windowSplashScreenBackground">@color/splashscreen_background</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splashscreen_logo</item>
<item name="postSplashScreenTheme">@style/AppTheme</item>
</style> </style>
</resources> </resources>

View File

@ -4,5 +4,6 @@
"ios.useFrameworks": "static", "ios.useFrameworks": "static",
"apple.extraPods": "[]", "apple.extraPods": "[]",
"apple.ccacheEnabled": "false", "apple.ccacheEnabled": "false",
"apple.privacyManifestAggregationEnabled": "true" "apple.privacyManifestAggregationEnabled": "true",
"newArchEnabled": "false"
} }

View File

@ -18,9 +18,6 @@
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" image="SplashScreenBackground" translatesAutoresizingMaskIntoConstraints="NO" id="EXPO-SplashScreenBackground" userLabel="SplashScreenBackground"> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" image="SplashScreenBackground" translatesAutoresizingMaskIntoConstraints="NO" id="EXPO-SplashScreenBackground" userLabel="SplashScreenBackground">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/> <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
</imageView> </imageView>
<imageView id="EXPO-SplashScreen" userLabel="SplashScreen" image="SplashScreen" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" clipsSubviews="true" userInteractionEnabled="false" translatesAutoresizingMaskIntoConstraints="false">
<rect key="frame" x="0" y="0" width="414" height="736"/>
</imageView>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="EXPO-SplashScreenBackground" firstAttribute="top" secondItem="EXPO-ContainerView" secondAttribute="top" id="1gX-mQ-vu6"/> <constraint firstItem="EXPO-SplashScreenBackground" firstAttribute="top" secondItem="EXPO-ContainerView" secondAttribute="top" id="1gX-mQ-vu6"/>

View File

@ -36,7 +36,7 @@
"@expo-google-fonts/poppins": "^0.2.3", "@expo-google-fonts/poppins": "^0.2.3",
"@expo/vector-icons": "^14.0.2", "@expo/vector-icons": "^14.0.2",
"@react-native-community/blur": "^4.4.0", "@react-native-community/blur": "^4.4.0",
"@react-native-community/datetimepicker": "8.0.1", "@react-native-community/datetimepicker": "8.2.0",
"@react-native-firebase/app": "^20.3.0", "@react-native-firebase/app": "^20.3.0",
"@react-native-firebase/auth": "^20.3.0", "@react-native-firebase/auth": "^20.3.0",
"@react-native-firebase/crashlytics": "^20.3.0", "@react-native-firebase/crashlytics": "^20.3.0",
@ -44,56 +44,57 @@
"@react-native-firebase/functions": "^20.4.0", "@react-native-firebase/functions": "^20.4.0",
"@react-native-firebase/storage": "^20.4.0", "@react-native-firebase/storage": "^20.4.0",
"@react-native-menu/menu": "^1.1.6", "@react-native-menu/menu": "^1.1.6",
"@react-navigation/drawer": "^6.7.2", "@react-native/assets-registry": "^0.76.3",
"@react-navigation/native": "^6.0.2", "@react-navigation/drawer": "^7.0.0",
"@react-navigation/native": "^7.0.0",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"debounce": "^2.1.1", "debounce": "^2.1.1",
"expo": "~51.0.38", "expo": "^52.0.14",
"expo-app-loading": "^2.1.1", "expo-app-loading": "^2.1.1",
"expo-apple-authentication": "~6.4.2", "expo-apple-authentication": "~7.1.2",
"expo-auth-session": "^5.5.2", "expo-auth-session": "~6.0.1",
"expo-barcode-scanner": "~13.0.1", "expo-barcode-scanner": "~13.0.1",
"expo-build-properties": "~0.12.4", "expo-build-properties": "~0.13.1",
"expo-cached-image": "^51.0.19", "expo-cached-image": "^51.0.19",
"expo-calendar": "~13.0.5", "expo-calendar": "~14.0.4",
"expo-camera": "~15.0.16", "expo-camera": "~16.0.8",
"expo-constants": "~16.0.2", "expo-constants": "~17.0.3",
"expo-dev-client": "~4.0.28", "expo-dev-client": "~5.0.5",
"expo-device": "~6.0.2", "expo-device": "~7.0.1",
"expo-font": "~12.0.10", "expo-font": "~13.0.1",
"expo-image-picker": "~15.0.7", "expo-image-picker": "~16.0.3",
"expo-linking": "~6.3.1", "expo-linking": "~7.0.3",
"expo-localization": "~15.0.3", "expo-localization": "~16.0.0",
"expo-notifications": "~0.28.19", "expo-notifications": "~0.29.10",
"expo-router": "~3.5.20", "expo-router": "~4.0.11",
"expo-screen-orientation": "~7.0.5", "expo-screen-orientation": "~8.0.0",
"expo-splash-screen": "~0.27.6", "expo-splash-screen": "~0.29.13",
"expo-status-bar": "~1.12.1", "expo-status-bar": "~2.0.0",
"expo-system-ui": "~3.0.7", "expo-system-ui": "~4.0.5",
"expo-updates": "~0.25.27", "expo-updates": "~0.26.9",
"expo-web-browser": "~13.0.3", "expo-web-browser": "~14.0.1",
"firebase-admin": "^12.3.1", "firebase-admin": "^12.3.1",
"firebase-functions": "^5.1.0", "firebase-functions": "^5.1.0",
"fuzzysort": "^3.0.2", "fuzzysort": "^3.0.2",
"jotai": "^2.9.1", "jotai": "^2.9.1",
"patch-package": "^8.0.0", "patch-package": "^8.0.0",
"react": "18.2.0", "react": "18.3.1",
"react-dom": "18.2.0", "react-dom": "18.3.1",
"react-native": "0.74.5", "react-native": "0.76.3",
"react-native-app-auth": "^8.0.0", "react-native-app-auth": "^8.0.0",
"react-native-big-calendar": "^4.15.1", "react-native-big-calendar": "^4.15.1",
"react-native-calendars": "^1.1306.0", "react-native-calendars": "^1.1306.0",
"react-native-element-dropdown": "^2.12.2", "react-native-element-dropdown": "^2.12.2",
"react-native-gesture-handler": "~2.16.1", "react-native-gesture-handler": "~2.20.2",
"react-native-gifted-charts": "^1.4.41", "react-native-gifted-charts": "^1.4.41",
"react-native-keyboard-manager": "^6.5.16-0", "react-native-keyboard-manager": "^6.5.16-0",
"react-native-linear-gradient": "^2.8.3", "react-native-linear-gradient": "^2.8.3",
"react-native-onboarding-swiper": "^1.3.0", "react-native-onboarding-swiper": "^1.3.0",
"react-native-qrcode-svg": "^6.3.2", "react-native-qrcode-svg": "^6.3.2",
"react-native-reanimated": "~3.10.1", "react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.10.5", "react-native-safe-area-context": "4.12.0",
"react-native-screens": "3.31.1", "react-native-screens": "~4.1.0",
"react-native-svg": "15.2.0", "react-native-svg": "15.8.0",
"react-native-svg-icon": "^0.10.0", "react-native-svg-icon": "^0.10.0",
"react-native-toast-message": "^2.2.1", "react-native-toast-message": "^2.2.1",
"react-native-ui-lib": "^7.27.0", "react-native-ui-lib": "^7.27.0",
@ -108,12 +109,12 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.20.0", "@babel/core": "^7.20.0",
"@types/jest": "^29.5.12", "@types/jest": "^29.5.12",
"@types/react": "~18.2.45", "@types/react": "~18.3.12",
"@types/react-native-onboarding-swiper": "^1.1.9", "@types/react-native-onboarding-swiper": "^1.1.9",
"@types/react-test-renderer": "^18.0.7", "@types/react-test-renderer": "^18.0.7",
"babel-plugin-module-resolver": "^5.0.2", "babel-plugin-module-resolver": "^5.0.2",
"jest": "^29.2.1", "jest": "^29.2.1",
"jest-expo": "~51.0.3", "jest-expo": "~52.0.2",
"postinstall-postinstall": "^2.1.0", "postinstall-postinstall": "^2.1.0",
"react-test-renderer": "18.2.0", "react-test-renderer": "18.2.0",
"typescript": "~5.3.3" "typescript": "~5.3.3"

2076
yarn.lock

File diff suppressed because it is too large Load Diff