diff --git a/app.json b/app.json index cc4325de..ce2a3dd2 100644 --- a/app.json +++ b/app.json @@ -111,7 +111,8 @@ { "android": { "parentTheme": "Material3" } } ], ["react-native-bottom-tabs"], - ["./plugins/withChangeNativeAndroidTextToWhite.js"] + ["./plugins/withChangeNativeAndroidTextToWhite.js"], + ["@react-native-tvos/config-tv"] ], "experiments": { "typedRoutes": true diff --git a/bun.lockb b/bun.lockb index 38913c76..770f9413 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/modules/vlc-player/ios/VlcPlayer.podspec b/modules/vlc-player/ios/VlcPlayer.podspec index 642026ae..7e92849c 100644 --- a/modules/vlc-player/ios/VlcPlayer.podspec +++ b/modules/vlc-player/ios/VlcPlayer.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency 'ExpoModulesCore' - s.dependency 'MobileVLCKit', '~> 3.6.1b1' + s.tvos.dependency 'TVVLCKit', '~> 3.6.1b1' # Swift/Objective-C compatibility s.pod_target_xcconfig = { diff --git a/modules/vlc-player/ios/VlcPlayerView.swift b/modules/vlc-player/ios/VlcPlayerView.swift index f63aff44..b101d63f 100644 --- a/modules/vlc-player/ios/VlcPlayerView.swift +++ b/modules/vlc-player/ios/VlcPlayerView.swift @@ -1,5 +1,5 @@ import ExpoModulesCore -import MobileVLCKit +import TVVLCKit import UIKit class VlcPlayerView: ExpoView { diff --git a/package.json b/package.json index 50a4de63..98827aa9 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "@futurejj/react-native-visibility-sensor": "^1.3.5", "@gorhom/bottom-sheet": "^4.6.4", "@jellyfin/sdk": "^0.11.0", - "@kesha-antonov/react-native-background-downloader": "^3.2.1", "@react-native-async-storage/async-storage": "1.23.1", "@react-native-community/netinfo": "11.3.1", "@react-native-menu/menu": "^1.1.6", @@ -70,7 +69,7 @@ "nativewind": "^2.0.11", "react": "18.2.0", "react-dom": "18.2.0", - "react-native": "0.74.5", + "react-native": "npm:react-native-tvos@latest", "react-native-awesome-slider": "^2.5.6", "react-native-bottom-tabs": "0.7.1", "react-native-circular-progress": "^1.4.1", @@ -109,6 +108,8 @@ }, "devDependencies": { "@babel/core": "^7.26.0", + "@react-native-community/cli": "^15.1.3", + "@react-native-tvos/config-tv": "^0.1.1", "@types/jest": "^29.5.14", "@types/react": "~18.2.79", "@types/react-test-renderer": "^18.0.7", @@ -119,5 +120,12 @@ "react-test-renderer": "18.2.0", "typescript": "~5.3.3" }, - "private": true + "private": true, + "expo": { + "install": { + "exclude": [ + "react-native" + ] + } + } }