This commit is contained in:
Fredrik Burmester
2024-08-11 09:52:55 +02:00
parent cc88ddbcb0
commit 7b90389e78
4 changed files with 45 additions and 2 deletions

View File

@@ -40,6 +40,33 @@ Soon iOS users can test Streamyfin in beta via TestFlight. To join the beta prog
We welcome any help to make Streamyfin better. If you'd like to contribute, please fork the repository and submit a pull request. For major changes, it's best to open an issue first to discuss your ideas.
### Development info
Add this to AppDelegate.mm:
```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// @generated begin react-native-google-cast-didFinishLaunchingWithOptions - expo prebuild (DO NOT MODIFY) sync-8901be60b982d2ae9c658b1e8c50634d61bb5091
#if __has_include(<GoogleCast/GoogleCast.h>)
...
[GCKCastContext sharedInstance].useDefaultExpandedMediaControls = true;`
#endif
```
Add this to Info.plist:
```
<key>NSBonjourServices</key>
<array>
<string>_googlecast._tcp</string>
<string>_CC1AD845._googlecast._tcp</string>
</array>
<key>NSLocalNetworkUsageDescription</key>
<string>${PRODUCT_NAME} uses the local network to discover Cast-enabled devices on your WiFi network.</string>
```
## 📄 License
Streamyfin is licensed under the Mozilla Public License 2.0 (MPL-2.0).

View File

@@ -12,6 +12,7 @@
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"jsEngine": "hermes",
"assetBundlePatterns": ["**/*"],
"ios": {
"userInterfaceStyle": "dark",
@@ -23,6 +24,7 @@
"bundleIdentifier": "com.fredrikburmester.streamyfin"
},
"android": {
"jsEngine": "jsc",
"userInterfaceStyle": "light",
"adaptiveIcon": {
"foregroundImage": "./assets/images/icon.png",
@@ -39,7 +41,13 @@
"expo-router",
"expo-font",
"react-native-compressor",
["react-native-google-cast", {}],
"@config-plugins/ffmpeg-kit-react-native",
[
"react-native-google-cast",
{
"useDefaultExpandedMediaControls": true
}
],
[
"react-native-video",
{
@@ -67,7 +75,14 @@
"expo-build-properties",
{
"ios": { "deploymentTarget": "14.0" },
"android": { "minSdkVersion": 24 }
"android": {
"minSdkVersion": 24,
"packagingOptions": {
"jniLibs": {
"useLegacyPackaging": true
}
}
}
}
]
],

BIN
bun.lockb

Binary file not shown.

View File

@@ -15,6 +15,7 @@
"preset": "jest-expo"
},
"dependencies": {
"@config-plugins/ffmpeg-kit-react-native": "^8.0.0",
"@expo/vector-icons": "^14.0.2",
"@jellyfin/sdk": "^0.10.0",
"@kesha-antonov/react-native-background-downloader": "^3.2.0",