From ee454f0c8f72e383835749478835ea0776f35fa5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 19:56:25 +0000 Subject: [PATCH 1/3] Initial plan From d7ec72dd3af4d73fdacd165deb49c8e21f37a24c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 20:03:59 +0000 Subject: [PATCH 2/3] Add Android TV support with Leanback integration Co-authored-by: IgorDuino <74809945+IgorDuino@users.noreply.github.com> --- app/build.gradle.kts | 3 ++ app/src/main/AndroidManifest.xml | 17 +++++++++- app/src/main/res/drawable/tv_banner.xml | 43 +++++++++++++++++++++++++ gradle/libs.versions.toml | 2 ++ 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/tv_banner.xml diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2199875b..5bab7d82 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -126,6 +126,9 @@ dependencies { implementation(libs.androidx.room.ktx) ksp(libs.androidx.room.compiler) + // Android TV support + implementation(libs.androidx.leanback) + "playImplementation"(libs.revenuecat.purchases) "playImplementation"(libs.revenuecat.purchases.ui) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 62a7ee8c..97b24475 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -25,6 +25,14 @@ + + + + + android:theme="@style/Theme.Tomato" + android:banner="@drawable/tv_banner"> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4361af8b..5f515e73 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -9,6 +9,7 @@ junit = "4.13.2" junitVersion = "1.3.0" kotlin = "2.2.21" ksp = "2.3.3" +leanback = "1.2.0-alpha04" lifecycleRuntimeKtx = "2.10.0" materialKolor = "4.0.5" navigation3 = "1.0.0" @@ -23,6 +24,7 @@ androidx-compose-bom = { group = "androidx.compose", name = "compose-bom-alpha", androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } +androidx-leanback = { group = "androidx.leanback", name = "leanback", version.ref = "leanback" } androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel", version.ref = "lifecycleRuntimeKtx" } androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycleRuntimeKtx" } From debd59c2382e671b48f520188ff70d00582388b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 20:06:29 +0000 Subject: [PATCH 3/3] Document Android TV support in README Co-authored-by: IgorDuino <74809945+IgorDuino@users.noreply.github.com> --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8bce6148..55b2ae24 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ Authority*](https://www.androidauthority.com/best-new-android-apps-october-2025- productive - Customizable timer parameters - Support for Now Bar/Live Updates on Android 16 and later +- Android TV support with Leanback Launcher integration ## Translation