Skip to content

feat(cli): optional banner generation for Android TV target#14977

Open
setoelkahfi wants to merge 15 commits intotauri-apps:devfrom
setoelkahfi:feature/cli-icon-generate-android-tv-banner
Open

feat(cli): optional banner generation for Android TV target#14977
setoelkahfi wants to merge 15 commits intotauri-apps:devfrom
setoelkahfi:feature/cli-icon-generate-android-tv-banner

Conversation

@setoelkahfi
Copy link
Copy Markdown
Contributor

I tried to initiate the discussion here, so I tried this way.

This addition is not intrusive, as in it's an optional parameter. Background is that my users are mostly on Android TV and Tauri has been really great platform to share codebase among my apps.

@setoelkahfi setoelkahfi requested a review from a team as a code owner February 20, 2026 18:40
@github-project-automation github-project-automation Bot moved this to 📬Proposal in Roadmap Feb 20, 2026
@setoelkahfi setoelkahfi changed the title feat(cli): optional icon generation for android tv banner feat(cli): optional banner generation for Android TV target Feb 20, 2026
@FabianLars
Copy link
Copy Markdown
Member

looking at my tv i'm not sure the text input parameter is really the right call. barely any (serious looking apps) use it. Maybe we can accept a banner-ish icon input instead? So for example Netflix, one icon for the symbols with just the N and one for banners with Netflix spaced out? 🤔

@setoelkahfi
Copy link
Copy Markdown
Contributor Author

looking at my tv i'm not sure the text input parameter is really the right call. barely any (serious looking apps) use it. Maybe we can accept a banner-ish icon input instead? So for example Netflix, one icon for the symbols with just the N and one for banners with Netflix spaced out? 🤔

That's a nice addition.

The issue is with the standard app review on PlayStore for Android TV. The script provides a predictable result based on the guideline from Google and I tested it on a production app. I tried submitting my app with only an icon as the banner, which is similar to Netflix spaced out icon option, and the app didn't pass the review.

@FabianLars
Copy link
Copy Markdown
Member

Perhaps not the best example, they're probably not as strict for netflix and similar large apps x)

i have to admit though that i didn't check the code before my earlier comment so i thought we'd write the text ourselves which sounds horrible (cause how to define font size, weight, color, etc). Still though, if it's an image already, might as well take the "full" banner image as an input and not just the text so that devs/designers can configure the size and spacing and whatever themselves. There's imho not much the code here does to "help" with the guidelines that they couldn't do themselves just as easy.

@setoelkahfi
Copy link
Copy Markdown
Contributor Author

I see what you're coming from. I don't have a dedicated designer, that's important context. So, the script is my way to automate the creation from the existing app-icon that the cargo tauri icon command already use.

if we go with your suggestion, doesn't mean that it should be a dedicated command? or what do you think the command would be?

@FabianLars
Copy link
Copy Markdown
Member

if we go with your suggestion, doesn't mean that it should be a dedicated command? or what do you think the command would be?

essentially same as it is now but instead of a path to the text you provide a path to the full banner icon. Another PR will also add json file inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📬Proposal

Development

Successfully merging this pull request may close these issues.

2 participants