首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Android电视上可以使用PWAS吗?

在Android电视上可以使用PWAS吗?
EN

Stack Overflow用户
提问于 2020-10-23 23:35:26
回答 1查看 2.5K关注 0票数 0

我在研究支持电视市场规模的网络框架。安卓,WebOS,太岑,微软,苹果。**

我正在使用可信的网络活动/ svgomg为Android构建基于PWA的应用程序。

它看起来是受支持的:https://github.com/GoogleChromeLabs/svgomg-twa/issues/91

但是我尝试为Android构建apk/app,却得到了这样的错误:

代码语言:javascript
复制
I/OpenGLRenderer: Davey! duration=1588ms; Flags=0, IntendedVsync=85294375864, Vsync=85294375864, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=85300204600, AnimationStart=85300236800, PerformTraversalsStart=85300260700, DrawStart=85300629400, SyncQueued=85300648400, SyncStart=85300758100, IssueDrawCommandsStart=85300807700, SwapBuffers=85301335900, FrameCompleted=86882937700, DequeueBufferDuration=208000, QueueBufferDuration=409000, 
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5470549
D/TWALauncherActivity: Using URL from Intent (https://xx/).
D/TWAProviderPicker: Found no TWA providers, using first browser: null
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2076314
D/EGL_emulation: eglMakeCurrent: 0xea644960: ver 2 0 (tinfo 0xea6c1550)
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@d15ce5f
D/TWALauncherActivity: Using URL from Intent (https://xx/).
D/TWAProviderPicker: Found no TWA providers, using first browser: null
D/EGL_emulation: eglMakeCurrent: 0xea644960: ver 2 0 (tinfo 0xea6c1550)
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2adfb62
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5de11e5
D/TWALauncherActivity: Using URL from Intent (https://xx/).
D/TWAProviderPicker: Found no TWA providers, using first browser: null
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@1b55ae0
D/EGL_emulation: eglMakeCurrent: 0xea644960: ver 2 0 (tinfo 0xea6c1550)
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@40ec95b

在电视开放源码软件上构建PWAs的替代方案是什么?或者,至少在Android电视应用程序中使用PWA,类似于svgomg?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-10-24 07:45:05

目前,在Android上使用Web的最简单方法是使用WebView。WebView不支持许多PWA特性。

Youtube使用作为平台,跨不同平台运行他们的应用程序。它只支持HTML、CSS和JavaScript的子集,因此不提供PWA支持。

受信任的网络活动是,而不是安卓电视目前支持的。在http://crbug.com/1054737中有一个开放的特性请求。

对于那些对Android受信任的网络活动支持感兴趣的人,我建议去那个问题并启动功能请求,这样团队就可以更好地了解需求,并确定优先级。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64508495

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档