You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android 13+下TWA调用Google Play Billing出现clientAppUnavailable异常

TWA应用Android 13下Google Play Billing调用报错DOMException: clientAppUnavailable

我们近期发布了一款TWA应用,上线首日就遭遇Google Play Billing的一致性问题:调用SKU的getDetails()方法及listPurchases()方法时,会收到**"DOMException: clientAppUnavailable"**错误,导致Promise执行失败。

调试排查情况

  • Android 11设备上,Delegation Service可正常运行并成功注册额外命令处理器,无上述异常
  • Android 13设备上,Delegation Service无法运行,触发上述错误
  • 已确认Google Play Services初始化正常,web_app_manifest.json、AndroidManifest.xml等相关配置文件均已正确配置

已尝试的解决方案(均无效)

  • 清除Google Play Store缓存
  • 将targetSdkVersion从33升级到34
  • 确保已添加com.android.vending.BILLING权限
  • 更新Google Play Services至最新版本

针对旧SDK版本的同类问题修复方案对当前情况也无效,特此求助。

内容的提问来源于stack exchange,提问作者monstermac77

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.18 05:52:36