Comments (6)
Android TV doesn't come with a browser installed and Chrome doesn't have an Android TV version.
So, my expectation is that, if running on Android TV, it wouldn't find a browser that supports TWA and that would trigger a fallbackStrategy, without the need to force it.
Having said that, the default CCT strategy won't work (as there isn't usually a browser installed), and the developer would have to provide their own WebView fallback that is used to navigate both internal and external links (a modified version of this demo).
Can you provide:
- More details on the browser (or browsers) installed on the TV
- The configuration being used on AndroidManifest, build.gradle or any other classes used on the Android implementation.
from android-browser-helper.
[google translate]
that's right, after installing the application on android tv, webview started, but when I was wondering if the browser is installed, how the application behaves, I installed chrome on android tv, and it’s not displayed in the webview, but chrome
1.chrome beta 80.0.3987.78
2. everything is like in the demo twa-webview-fallback
[orig_ru]
всё верно, после установки приложения на андроид тв запустился вебвью, но когда мне стало интересно если будет установлен браузер то как приложение себя поведет, установил я хром на андроид тв, и уже не в вебвью отображается, а хроме
- хром бета 80.0.3987.78
- всё как в демо twa-webview-fallback
from android-browser-helper.
How was Chrome installed into the Android TV? AFAIK, it's not officially supported, which may lead to unexpected behaviours.
re: the twa-webview-fallback demo, won't work correctly on Android TV as well without modification, as this section tries to launch a CCT when navigating outside the app domain.
from android-browser-helper.
installing apk
from android-browser-helper.
Closing this, as supporting Android TV is not a goal at the moment.
from android-browser-helper.
@andreban that's unfortunate, we have a multiscreen PWA that would benefit from this.
If I read correctly we can still deploy the bubblewrap generated AAB/APK to android TV and it will fallback to webview, correct? as long as the PWA supports linear navigation it should work, or do we need to modify something in the manifest to make it work for Android TV?
from android-browser-helper.
Related Issues (20)
- Play Billing Library Version Deprecation
- When a separate activity is launched and finished, the app backgrounds and doesn't return to the twa activity HOT 3
- Consistent Google Play Billing error in TWA: clientAppUnavailable (Android 13, API 33 and above) HOT 3
- Bump the `com.google.android.gms:play-services-location` version in `locationdelegation` HOT 1
- Cannot repro the demo of twa post message HOT 4
- Post Message - onMessageChannelReady is not getting called HOT 1
- [BUG] Custom Tab doesn't appear in a bottom sheet HOT 1
- [BUG] Custom Tab height doesn't change HOT 1
- Demo site not working
- PostMessage request has failed due to an internal error on the browser message channel. HOT 2
- Base Plans are not supported in subscriptions
- Ok
- How to support activity embedding, cross-application embedding. HOT 1
- Isolating TWA local storage
- Not able to consistently launch another activity from the LauncherActivity
- onActivityResult not triggering when Activity is started by LauncherActivity
- Broken caching behavior in `SplashImageTransferTask` on dark / light mode switches
- PWA: Call to Javascript "alert()" causes un-dismissible URL bar to appear
- Google Chrome not shows the "access to camera" prompt after version 122 HOT 5
- how To Hide Custom Tab Minimize Button HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-browser-helper.