mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-18 17:18:11 +00:00
11 lines
374 B
JavaScript
11 lines
374 B
JavaScript
import "react-native-url-polyfill/auto";
|
|
import { Platform } from "react-native";
|
|
import "expo-router/entry";
|
|
|
|
// TrackPlayer is not supported on tvOS
|
|
if (!Platform.isTV) {
|
|
const TrackPlayer = require("react-native-track-player").default;
|
|
const { PlaybackService } = require("./services/PlaybackService");
|
|
TrackPlayer.registerPlaybackService(() => PlaybackService);
|
|
}
|