Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ The `patches/` directory contains temporary fixes for upstream library issues. T
### Core Technologies

- Project uses **react-native-tvos (0.76.9-0)** fork instead of standard React Native for TV support
- **Kotlin version:** 2.0.21 (overridden via `expo-build-properties` in `app.config.ts`; RN 0.76 default is 1.9.25). Upgrading to Kotlin 2.2+ is blocked by the React Native Gradle plugin (`com.facebook.react`) being compiled against Kotlin 1.9.x β€” would require RN 0.77+ / Expo SDK 53+.
- **Google Cast:** `react-native-google-cast` (^4.9.1) with `play-services-cast-framework` pinned to 22.2.0 via the plugin's `androidPlayServicesCastFrameworkVersion` prop. Without pinning, Gradle resolves `+` to the latest version which may be compiled with an incompatible Kotlin version.
- **Metro bundler** extends asset extensions (json, json5, ttf, otf) and prioritizes `.tv.*` extensions when `EXPO_TV=1`
- **Zod** is used for validation of instance configurations (`instanceConfigs.ts`) and other runtime type checks
- **Icons** use IcoMoon format with custom font (assets/fonts/icomoon.ttf and selection.json)
Expand Down
2 changes: 1 addition & 1 deletion OwnTube.tv/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default {
},
],
"expo-asset",
"react-native-google-cast",
["react-native-google-cast", { androidPlayServicesCastFrameworkVersion: "22.2.0" }],
[
"./plugins/withReleaseSigningConfig.js",
{
Expand Down