收藏
回答

button open-type="launchApp"无法返回APP?

APP调起小程序并完成微信支付后,利用button open-type="launchApp"无法返回APP

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

2 个回答

  • Demons
    Demons
    2022-11-16

    你好,小程序无法回调到app的问题,请开发者排查下配置是否正确https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/Android.html


    2022-11-16
    有用
    回复
  • Sky
    Sky
    02-25

    ios 和安卓 微笑小程序无法返回app 都报如下错,调试基础库 3.1.5 微信版本号 8.0.47


    index.js:1 MiniProgramError

    undefined is not a function (near '...wx.getLaunchAppInfo...')

    TypeError: undefined is not a function (near '...wx.getLaunchAppInfo...')

    _onThisTap@https://lib/WARenderContext.js:1:412074

    p@https://lib/WAServiceMainContext.js:1:425725

    call@https://lib/WAServiceMainContext.js:1:425616

    callListener@https://lib/WAServiceMainContext.js:1:459945

    @https://lib/WAServiceMainContext.js:1:461093

    n@https://lib/WAServiceMainContext.js:1:460352

    o@https://lib/WAServiceMainContext.js:1:460637

    dispatch@https://lib/WAServiceMainContext.js:1:460958

    v@https://lib/WARenderContext.js:1:843862

    dispatchEvent@https://lib/WARenderContext.js:1:844408

    @https://lib/WARenderContext.js:1:845273

    je@https://lib/WAServiceMainContext.js:1:582959

    handleTap@https://lib/WARenderContext.js:1:845241

    handleTrackEnd@https://lib/WARenderContext.js:1:846565

    dispatchTouchEvent@https://lib/WARenderContext.js:1:847257

    @https://lib/WARenderContext.js:1:860324

    @https://lib/WARenderContext.js:1:843480

    global @ index.js:1

    微信小程序

    <button open-type="launchApp" app-parameter="wechat" binderror="launchAppError">打开APP</button>


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