This commit is contained in:
Fredrik Burmester
2024-12-01 22:26:40 +01:00
parent 0f547deb39
commit 5cc0f381fa
4 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
"expo": {
"name": "Streamyfin",
"slug": "streamyfin",
"version": "0.21.0",
"version": "0.22.0",
"orientation": "default",
"icon": "./assets/images/icon.png",
"scheme": "streamyfin",
@@ -34,7 +34,7 @@
},
"android": {
"jsEngine": "hermes",
"versionCode": 46,
"versionCode": 47,
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive_icon.png"
},

View File

@@ -4,16 +4,16 @@ import {
} from "@expo/react-native-action-sheet";
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
import * as Haptics from "expo-haptics";
import React, {useCallback, useEffect, useMemo, useState} from "react";
import React, { useCallback, useMemo } from "react";
import { TouchableOpacity, View } from "react-native";
import { DownloadSize } from "@/components/downloads/DownloadSize";
import { useDownloadedFileOpener } from "@/hooks/useDownloadedFileOpener";
import { useDownload } from "@/providers/DownloadProvider";
import { storage } from "@/utils/mmkv";
import { Ionicons } from "@expo/vector-icons";
import { Image } from "expo-image";
import { ItemCardText } from "../ItemCardText";
import {DownloadSize} from "@/components/downloads/DownloadSize";
interface MovieCardProps {
item: BaseItemDto;

View File

@@ -22,13 +22,13 @@
}
},
"production": {
"channel": "0.21.0",
"channel": "0.22.0",
"android": {
"image": "latest"
}
},
"production-apk": {
"channel": "0.21.0",
"channel": "0.22.0",
"android": {
"buildType": "apk",
"image": "latest"

View File

@@ -54,7 +54,7 @@ export const JellyfinProvider: React.FC<{ children: ReactNode }> = ({
setJellyfin(
() =>
new Jellyfin({
clientInfo: { name: "Streamyfin", version: "0.21.0" },
clientInfo: { name: "Streamyfin", version: "0.22.0" },
deviceInfo: {
name: deviceName,
id,
@@ -91,7 +91,7 @@ export const JellyfinProvider: React.FC<{ children: ReactNode }> = ({
return {
authorization: `MediaBrowser Client="Streamyfin", Device=${
Platform.OS === "android" ? "Android" : "iOS"
}, DeviceId="${deviceId}", Version="0.21.0"`,
}, DeviceId="${deviceId}", Version="0.22.0"`,
};
}, [deviceId]);