diff --git a/lib/screens/auth_screen.dart b/lib/screens/auth_screen.dart index ea2dcf3d..4f7c844f 100644 --- a/lib/screens/auth_screen.dart +++ b/lib/screens/auth_screen.dart @@ -158,7 +158,11 @@ class _AuthScreenState extends State { // Open browser (in-app for mobile, external for desktop) final uri = Uri.parse(authUrl); if (await canLaunchUrl(uri)) { - await launchUrl(uri, mode: LaunchMode.inAppBrowserView); + // On TV, use inAppWebView (simpler WebView) instead of Chrome Custom Tabs + final mode = PlatformDetector.isTV() + ? LaunchMode.inAppWebView + : LaunchMode.inAppBrowserView; + await launchUrl(uri, mode: mode); } else { throw Exception(t.errors.couldNotLaunchUrl); }