deployed on Android TV shows a white screen and cannot be operated!
See original GitHub issueDescribe 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
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Without plugin-legacy, WebView Chromium 61 is the minimum by default. https://vitejs.dev/config/#build-target