【问题标题】:Version problem of Chrome Tabs Client of TWA Android appsTWA Android 应用的 Chrome Tabs Client 版本问题
【发布时间】:2020-01-07 07:34:17
【问题描述】:

我有一个 TWA android 应用程序,我正在尝试从这里添加一个启动屏幕流指令: https://dev.to/henrylim96/adding-splash-screen-to-trusted-web-activity-48p3

如前所述,我必须使用能够从这里检查的更新版本的 Chrome 选项卡客户端: https://chromium.googlesource.com/custom-tabs-client/+log

我当前的版本是 d08e93fce3,所以在我的 build.gradle 中是这样的:

dependencies {
  ...
  implementation 'com.github.GoogleChrome.custom-tabs-client:customtabs:d08e93fce3'
  ...
}

我尝试了最新的809a55c,网站上提到的700d2e1和3679335, 所有这些都会使我的所有设备上的应用崩溃。

有人有这方面的经验吗?

【问题讨论】:

    标签: android-studio progressive-web-apps twa


    【解决方案1】:

    您是否尝试过TWA-Getting-Started-Site 的默认版本? 我会写评论,但我不能。因此,如果您还没有尝试过,这可能会有所帮助。

    代码:

    dependencies {
      ...
      implementation 'com.google.androidbrowserhelper:androidbrowserhelper:1.0.0'
      ...
    }
    

    【讨论】:

      猜你喜欢
      • 2021-07-03
      • 2021-11-04
      • 2012-04-14
      • 2017-06-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-26
      • 1970-01-01
      相关资源
      最近更新 更多