Code Monkey home page Code Monkey logo

Comments (6)

andreban avatar andreban commented on May 11, 2024

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:

  1. More details on the browser (or browsers) installed on the TV
  2. The configuration being used on AndroidManifest, build.gradle or any other classes used on the Android implementation.

from android-browser-helper.

alex2844 avatar alex2844 commented on May 11, 2024

[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]
всё верно, после установки приложения на андроид тв запустился вебвью, но когда мне стало интересно если будет установлен браузер то как приложение себя поведет, установил я хром на андроид тв, и уже не в вебвью отображается, а хроме

  1. хром бета 80.0.3987.78
  2. всё как в демо twa-webview-fallback

from android-browser-helper.

andreban avatar andreban commented on May 11, 2024

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.

alex2844 avatar alex2844 commented on May 11, 2024

installing apk

from android-browser-helper.

andreban avatar andreban commented on May 11, 2024

Closing this, as supporting Android TV is not a goal at the moment.

from android-browser-helper.

dseeker avatar dseeker commented on May 11, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.