question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

deployed on Android TV shows a white screen and cannot be operated!

See original GitHub issue

Describe the bug

vite 2.9.8 deployed on Android TV shows a white screen and cannot be operated normal browser works fine, add @vitejs/plugin-legacy has no effect

Reproduction

https://github.com/vitejs/vite

System Info

System:
    OS: Android TV (Android 9)
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v16.14.2/bin/yarn
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
  Browsers:
    unknown
  npmPackages:
    @vitejs/plugin-vue: 2.3.1
    vite: 2.9.8

Used Package Manager

yarn

Logs

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import legacy from "@vitejs/plugin-legacy";

export default defineConfig({
  plugins: [
    vue(),
    legacy({
      targets: ["defaults", "not IE 11"],
    }),
  ]
});

Validations

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sapphi-redcommented, May 10, 2022

It is unactionable without a reproduction. It won’t need to be reproducible with a normal browser. It only need to be reproducible with android TV.

0reactions
sapphi-redcommented, May 12, 2022

Without plugin-legacy, WebView Chromium 61 is the minimum by default. https://vitejs.dev/config/#build-target

Read more comments on GitHub >

github_iconTop Results From Across the Web

My TV displays a blank white screen when entering ... - Sony
Select Device Preferences → Screen saver → Screen saver → set to Turn screen off. (Android™ 9) · Select Screen saver → Screen...
Read more >
How To fix white screen on app Start up? - Stack Overflow
File>Settings>Build,Execution, Deployment>Instant Run unCheck all options shown there. Note: White screen Issue due to Instant Run is only for ...
Read more >
A blank white screen is sometimes displayed when the TV ...
A blank white screen is sometimes displayed when the TV enters Screen saver or Daydream. · Press the HOME button on the remote...
Read more >
some programs opening to a white screen.
Programs opening to a white screen could be due to some file corruptions. We suggest that you try running System File Checker. It...
Read more >
Get started with TV apps - Android Developers
Run on a real device · In Android Studio, select your project and click Run from the toolbar. · In the Select Deployment...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found