fix: convert native.js to native.ts and fix imports for EAS builds

- Convert utils/profiles/native.js to TypeScript
- Add barrel export index.ts for profiles
- Update all imports to use explicit file paths instead of barrel export
- Fix .gitignore to only ignore root-level profiles/ directory
This commit is contained in:
Fredrik Burmester
2026-01-31 18:54:23 +01:00
parent 591d89c19f
commit 81cf672eb7
10 changed files with 35 additions and 54 deletions

View File

@@ -9,7 +9,7 @@ import { Platform } from "react-native";
import type { Bitrate } from "@/components/BitrateSelector";
import { settingsAtom } from "@/utils/atoms/settings";
import { getStreamUrl } from "@/utils/jellyfin/media/getStreamUrl";
import { generateDeviceProfile } from "@/utils/profiles/native";
import { generateDeviceProfile } from "../utils/profiles/native";
import { apiAtom, userAtom } from "./JellyfinProvider";
export type PlaybackType = {