Repository navigation
Suporte a Android TV e guia de instalação na TV sem a loja - #1
Merged
Merged
Conversation
… de instalação na TV Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EBgfoQxyppncrPLn6zBz3u
…t) e build do APK no GitHub Actions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EBgfoQxyppncrPLn6zBz3u
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by João · project thread
O que muda
Android TV / Google TV
AndroidManifest.xml: categoriaLEANBACK_LAUNCHER(o app aparece na tela inicial da TV),android:bannereuses-featurede touchscreen e leanback como não obrigatórios.res/drawable-xhdpi/banner.png(escudo verde + "AdBlocker").App.tsx: componenteFocusableque mostra o foco do controle remoto (borda amarela), foco inicial no botão de ligar (hasTVPreferredFocus), abas trocam ao receber foco na TV, layout em duas colunas em tela larga (TV / tablet deitado) e margem de overscan na TV. Texto "Aperte OK no controle" na TV.AdBlockModule.kt: se a TV não tiver a tela de permissão de VPN (ActivityNotFoundException), o app mostra o comandoadb shell appops set com.adblocker ACTIVATE_VPN allowem vez de travar.versionCode 3).README (PT e EN)
Como testei
tsc,eslintejestpassam.npx eas-cli@latest build -p android --profile preview.Generated by Claude Code