收藏
回答

微信小程序xr-frame ar开机第一次打开小程序或者清除了微信缓存进去没摄像头画面

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug xr-frame 微信安卓客户端 8.0.57 3.7.12

为什么微信小程序xr-frame ar开机第一次打开小程序或者清除了微信缓存进去没摄像头画面,重新进才会有摄像头画面, 基础库3.7 3.8

小米13 报错信息:

报错WAServiceMainContext.js:1 SystemError (webviewScriptError)

Cannot read properties of undefined (reading 'isSupportARImplType')

TypeError: Cannot read properties of undefined (reading 'isSupportARImplType')

at lZe.isSupport (WAServiceMainContext.js:1:2265568)

at Object.hZe [as isVKSupport] (WAServiceMainContext.js:1:2276925)

at t.onAdd (WAXRFrameRenderContext.js:1:1293136)

at e._added (WAXRFrameRenderContext.js:1:892540)

at e._added (WAXRFrameRenderContext.js:1:900133)

at e._appendChild (WAXRFrameRenderContext.js:1:903007)

at e.appendChild (WAXRFrameRenderContext.js:1:954814)

at (WAXRFrameRenderContext.js:1:1402396)

at w (WAXRFrameRenderContext.js:1:1402668)

at f.insertChildToElement (WAXRFrameRenderContext.js:1:1403874)

errorReport @ WAServiceMainContext.js:1

(anonymous) @ WAServiceMainContext.js:1

flushBlocked @ WAXRFrameRenderContext.js:1

unblock @ WAXRFrameRenderContext.js:1

ts @ WAXRFrameRenderContext.js:1

doInitRender @ WAXRFrameRenderContext.js:1

r @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

initRender @ WAXRFrameRenderContext.js:1

renderPage @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

r @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

notify @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

J @ WAXRFrameRenderContext.js:1

Z @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

_privEmit @ WAXRFrameRenderContext.js:1

emit @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

_privEmit @ WAXRFrameRenderContext.js:1

emit @ WAXRFrameRenderContext.js:1

(anonymous) @ WAXRFrameRenderContext.js:1

subscribeHandler @ WAXRFrameRenderContext.js:1

(anonymous) @ WAServiceMainContext.js:1

P @ WAServiceMainContext.js:1

postMessage @ WAServiceMainContext.js:1

L @ WAServiceMainContext.js:1

(anonymous) @ WAServiceMainContext.js:1

on @ WAServiceMainContext.js:1

un @ WAServiceMainContext.js:1

vdSync @ WAServiceMainContext.js:1

_e @ WASubContext.js:1

(anonymous) @ WASubContext.js:1

n @ WASubContext.js:1

s @ WASubContext.js:1

Promise.then (async)

n @ WASubContext.js:1

s @ WASubContext.js:1

(anonymous) @ WASubContext.js:1

(anonymous) @ WASubContext.js:1

(anonymous) @ WASubContext.js:1

pe @ WASubContext.js:1

de @ WASubContext.js:1

(anonymous) @ WASubContext.js:1

(anonymous) @ WAServiceMainContext.js:1

(anonymous) @ WAServiceMainContext.js:1

_emit @ WAServiceMainContext.js:1

emit @ WAServiceMainContext.js:1

dispatch @ WAServiceMainContext.js:1

cb @ WAServiceMainContext.js:1

cb @ WAServiceMainContext.js:1

Show 10 more frames

WAServiceMainContext.js:1 SystemError (webviewScriptError)

回答关注问题邀请回答
收藏

2 个回答

  • 社区技术运营-wwen
    社区技术运营-wwen
    04-16

    该功能暂不维护,如有 AR 需求,可使用 VisionKit 视觉能力

    04-16
    有用
    回复 3
    • 新得宝贝-小禾
      新得宝贝-小禾
      04-16
      您好,能帮忙看看我的问题吗
      04-16
      回复
    • 骚年
      骚年
      06-05
      既然不维护,为什么在官方说明文档没有说明????
      06-05
      回复
    • 神经蛙
      神经蛙
      06-24
      我去 一句话 重新开发
      06-24
      回复
  • 庞志雄
    庞志雄
    05-05

    强烈建议官方继续维护xr-frame!!!

    05-05
    有用
    回复
登录 后发表内容