From 513a6172054bf77049060012f8d292ed5d239e35 Mon Sep 17 00:00:00 2001 From: Pauljd Date: Fri, 6 Nov 2026 22:14:47 +0000 Subject: [PATCH] Orbit Companion: offer Add to home screen after joining A one-time sheet on the phone (and an entry in More) shows how to put Orbit on the home screen, using Chrome's own button where it's offered. The TV serves a manifest and Orbit's icon so the shortcut opens the remote full screen. Tests no longer leave a pairing code behind for the next one. Co-Authored-By: Claude Opus 5.5 (1M context) --- android/app/build.gradle.kts | 4 +-- .../app/src/main/assets/phone/companion.html | 26 +++++++++++++++++- .../app/src/main/assets/phone/icon-180.png | Bin 0 -> 14911 bytes .../app/src/main/assets/phone/icon-192.png | Bin 0 -> 14120 bytes .../app/src/main/assets/phone/icon-512.png | Bin 0 -> 48321 bytes .../main/java/tv/orbit/classic/EmbyClient.kt | 4 +-- .../main/java/tv/orbit/classic/PhoneLink.kt | 5 +++- .../main/java/tv/orbit/classic/PhonePages.kt | 6 ++++ .../tv/orbit/classic/SecureMediaDataSource.kt | 2 +- .../java/tv/orbit/classic/PhoneLinkTest.kt | 2 ++ 10 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 android/app/src/main/assets/phone/icon-180.png create mode 100644 android/app/src/main/assets/phone/icon-192.png create mode 100644 android/app/src/main/assets/phone/icon-512.png diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 4a5fc7cb..bfce4bea 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -9,8 +9,8 @@ android { applicationId = "tv.orbit.classic" minSdk = 26 targetSdk = 36 - versionCode = 236 - versionName = "0.108.76-companion" + versionCode = 237 + versionName = "0.108.77-companion" } buildFeatures { compose = true } // The finished build for the TVs (Paul, 6 November 2026: the test build stuttered on the box). Not debuggable, so diff --git a/android/app/src/main/assets/phone/companion.html b/android/app/src/main/assets/phone/companion.html index b21e29c8..a9d3f0c9 100644 --- a/android/app/src/main/assets/phone/companion.html +++ b/android/app/src/main/assets/phone/companion.html @@ -1,6 +1,8 @@ Orbit + +