diff --git a/app/(auth)/(tabs)/(home)/index.tsx b/app/(auth)/(tabs)/(home)/index.tsx index 339db9c0..d99f6509 100644 --- a/app/(auth)/(tabs)/(home)/index.tsx +++ b/app/(auth)/(tabs)/(home)/index.tsx @@ -8,7 +8,7 @@ import { Colors } from "@/constants/Colors"; import { useInvalidatePlaybackProgressCache } from "@/hooks/useRevalidatePlaybackProgressCache"; import { useDownload } from "@/providers/DownloadProvider"; import { apiAtom, userAtom } from "@/providers/JellyfinProvider"; -import { HomeSectionStyle, useSettings } from "@/utils/atoms/settings"; +import { useSettings } from "@/utils/atoms/settings"; import { Feather, Ionicons } from "@expo/vector-icons"; import { Api } from "@jellyfin/sdk"; import { @@ -36,7 +36,10 @@ import { View, } from "react-native"; import { useSafeAreaInsets } from "react-native-safe-area-context"; -import { useSplashScreenLoading, useSplashScreenVisible } from "@/providers/SplashScreenProvider"; +import { + useSplashScreenLoading, + useSplashScreenVisible, +} from "@/providers/SplashScreenProvider"; type ScrollingCollectionListSection = { type: "ScrollingCollectionList"; @@ -148,8 +151,8 @@ export default function index() { }); // show splash screen until query loaded - useSplashScreenLoading(l1) - const splashScreenVisible = useSplashScreenVisible() + useSplashScreenLoading(l1); + const splashScreenVisible = useSplashScreenVisible(); const userViews = useMemo( () => data?.filter((l) => !settings?.hiddenLibraries?.includes(l.Id!)), @@ -313,6 +316,7 @@ export default function index() { const ss: Section[] = []; for (const key in settings.home?.sections) { + // @ts-expect-error const section = settings.home?.sections[key]; const id = section.title || key; ss.push({ diff --git a/bun.lockb b/bun.lockb index 184bd464..cdcb5363 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 35fe999b..eb691d53 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "@bottom-tabs/react-navigation": "0.8.3", "@config-plugins/ffmpeg-kit-react-native": "^8.0.0", - "@expo/config-plugins": "~9.0.0", + "@expo/config-plugins": "~8.0.0", "@expo/react-native-action-sheet": "^4.1.0", "@expo/vector-icons": "^14.0.4", "@futurejj/react-native-visibility-sensor": "^1.3.5", @@ -24,56 +24,56 @@ "@jellyfin/sdk": "^0.11.0", "@kesha-antonov/react-native-background-downloader": "3.2.6", "@react-native-async-storage/async-storage": "1.23.1", - "@react-native-community/netinfo": "11.4.1", + "@react-native-community/netinfo": "11.3.1", "@react-native-menu/menu": "^1.1.6", "@react-navigation/bottom-tabs": "^7.0.0", "@react-navigation/material-top-tabs": "^7.1.0", "@react-navigation/native": "^7.0.0", - "@shopify/flash-list": "1.7.1", + "@shopify/flash-list": "1.6.4", "@tanstack/react-query": "^5.59.20", "@types/lodash": "^4.17.13", "@types/react-native-vector-icons": "^6.4.18", "@types/uuid": "^10.0.0", "add": "^2.0.6", "axios": "^1.7.7", - "expo": "^52.0.28", - "expo-asset": "~11.0.2", - "expo-background-fetch": "~13.0.5", - "expo-blur": "~14.0.3", - "expo-brightness": "~13.0.3", - "expo-build-properties": "~0.13.2", - "expo-constants": "~17.0.5", - "expo-crypto": "~14.0.2", - "expo-dev-client": "~5.0.10", - "expo-device": "~7.0.2", - "expo-font": "~13.0.3", - "expo-haptics": "~14.0.1", - "expo-image": "~2.0.4", - "expo-keep-awake": "~14.0.2", - "expo-linear-gradient": "~14.0.2", - "expo-linking": "~7.0.5", - "expo-localization": "~16.0.1", - "expo-network": "~7.0.5", - "expo-notifications": "~0.29.13", - "expo-router": "~4.0.17", - "expo-screen-orientation": "~8.0.4", - "expo-sensors": "~14.0.2", - "expo-splash-screen": "~0.29.21", - "expo-status-bar": "~2.0.1", - "expo-system-ui": "~4.0.7", - "expo-task-manager": "~12.0.5", - "expo-updates": "~0.26.13", - "expo-web-browser": "~14.0.2", + "expo": "^51", + "expo-asset": "~10.0.10", + "expo-background-fetch": "~12.0.1", + "expo-blur": "~13.0.3", + "expo-brightness": "~12.0.1", + "expo-build-properties": "~0.12.5", + "expo-constants": "~16.0.2", + "expo-crypto": "~13.0.2", + "expo-dev-client": "~4.0.29", + "expo-device": "~6.0.2", + "expo-font": "~12.0.10", + "expo-haptics": "~13.0.1", + "expo-image": "~1.13.0", + "expo-keep-awake": "~13.0.2", + "expo-linear-gradient": "~13.0.2", + "expo-linking": "~6.3.1", + "expo-localization": "~15.0.3", + "expo-network": "~6.0.1", + "expo-notifications": "~0.28.19", + "expo-router": "~3.5.24", + "expo-screen-orientation": "~7.0.5", + "expo-sensors": "~13.0.9", + "expo-splash-screen": "~0.27.7", + "expo-status-bar": "~1.12.1", + "expo-system-ui": "~3.0.7", + "expo-task-manager": "~11.8.2", + "expo-updates": "~0.25.28", + "expo-web-browser": "~13.0.3", "ffmpeg-kit-react-native": "^6.0.2", "i18next": "^24.2.2", "install": "^0.13.0", "jotai": "^2.10.1", "lodash": "^4.17.21", "nativewind": "^2.0.11", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "18.2.0", + "react-dom": "18.2.0", "react-i18next": "^15.4.0", - "react-native": "0.76.6", + "react-native": "0.74.5", "react-native-awesome-slider": "^2.5.6", "react-native-bottom-tabs": "0.8.3", "react-native-circular-progress": "^1.4.1", @@ -81,20 +81,20 @@ "react-native-country-flag": "^2.0.2", "react-native-device-info": "^14.0.1", "react-native-edge-to-edge": "^1.1.3", - "react-native-gesture-handler": "~2.20.2", + "react-native-gesture-handler": "~2.16.1", "react-native-get-random-values": "^1.11.0", "react-native-google-cast": "^4.8.3", "react-native-image-colors": "^2.4.0", "react-native-ios-context-menu": "^2.5.2", "react-native-ios-utilities": "4.5.3", "react-native-mmkv": "^2.12.2", - "react-native-pager-view": "6.5.1", + "react-native-pager-view": "6.3.0", "react-native-progress": "^5.0.1", - "react-native-reanimated": "~3.16.1", + "react-native-reanimated": "~3.10.1", "react-native-reanimated-carousel": "4.0.0-canary.22", - "react-native-safe-area-context": "4.12.0", - "react-native-screens": "~4.4.0", - "react-native-svg": "15.8.0", + "react-native-safe-area-context": "4.10.5", + "react-native-screens": "3.31.1", + "react-native-svg": "15.2.0", "react-native-tab-view": "^3.5.2", "react-native-udp": "^4.1.7", "react-native-uitextview": "^1.4.0", @@ -103,7 +103,7 @@ "react-native-video": "^6.7.0", "react-native-volume-manager": "^1.10.0", "react-native-web": "~0.19.13", - "react-native-webview": "13.12.5", + "react-native-webview": "13.8.6", "sonner-native": "^0.14.2", "tailwindcss": "3.3.2", "use-debounce": "^10.0.4", @@ -114,7 +114,7 @@ "devDependencies": { "@babel/core": "^7.26.0", "@types/jest": "^29.5.14", - "@types/react": "~18.3.12", + "@types/react": "~18.2.79", "@types/react-test-renderer": "^18.0.7", "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0", diff --git a/plugins/network_security_config.xml b/plugins/network_security_config.xml index 7448506a..a0e1e57d 100644 --- a/plugins/network_security_config.xml +++ b/plugins/network_security_config.xml @@ -2,8 +2,11 @@ - - + + + + 192.168.86.64 + \ No newline at end of file