Compare commits

...

8 Commits

Author SHA1 Message Date
Lance Chant
8d4e5b18f2 Stopping apple TV displaying the qr code
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
2026-06-01 11:51:36 +02:00
Lance Chant
0eb451ffd0 chore: removing entitlement for ios
Removed entitlement for IOS till apple approves
Made the QR login only for android

Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
2026-06-01 11:42:59 +02:00
Lance Chant
a4e22df053 fix: stopping an alert coming up when all okay
Fixed an issue after login where an alert would come up when all was
successful

Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
2026-06-01 10:46:00 +02:00
lance chant
698a35bf44 Merge branch 'develop' into fix/qr-code-scanning-ios 2026-06-01 10:36:38 +02:00
lance chant
01cb0b3977 Merge branch 'develop' into fix/qr-code-scanning-ios 2026-06-01 07:28:07 +02:00
lance chant
a3ccedc85c Merge branch 'develop' into fix/qr-code-scanning-ios 2026-05-31 22:02:23 +02:00
lance chant
6f21545f19 Merge branch 'develop' into fix/qr-code-scanning-ios 2026-05-31 14:05:11 +02:00
Lance Chant
695027911a fix: qr code scanning not working ios
Added the multicast entitlement for ios

Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
2026-05-31 14:02:44 +02:00
3 changed files with 16 additions and 13 deletions

View File

@@ -59,17 +59,19 @@ function SettingsMobile() {
<QuickConnect className='mb-4' />
<View className='mb-4'>
<ListGroup title={t("pairing.pair_with_phone_title")}>
<ListItem
onPress={() =>
router.push("/(auth)/(tabs)/(home)/companion-login")
}
title={t("pairing.pair_with_phone")}
textColor='blue'
/>
</ListGroup>
</View>
{Platform.OS !== "ios" && (
<View className='mb-4'>
<ListGroup title={t("pairing.pair_with_phone_title")}>
<ListItem
onPress={() =>
router.push("/(auth)/(tabs)/(home)/companion-login")
}
title={t("pairing.pair_with_phone")}
textColor='blue'
/>
</ListGroup>
</View>
)}
<View className='mb-4'>
<AppLanguageSelector />

View File

@@ -1,6 +1,6 @@
import { t } from "i18next";
import React, { useCallback, useState } from "react";
import { ScrollView, View } from "react-native";
import { Platform, ScrollView, View } from "react-native";
import { Button } from "@/components/Button";
import { Text } from "@/components/common/Text";
import { useScaledTVTypography } from "@/constants/TVTypography";
@@ -107,7 +107,7 @@ export const TVAddServerForm: React.FC<TVAddServerFormProps> = ({
</View>
{/* Pair with Phone */}
{onStartPairing && (
{Platform.OS !== "ios" && onStartPairing && (
<View>
<Button
onPress={onStartPairing}

View File

@@ -27,6 +27,7 @@ export function startPairingListener(
});
socket.on("error", (err) => {
if (!active) return;
if (__DEV__) console.error("[PairingService] Socket error:", err);
onError?.(err.message);
cleanup();