search

Home  >  Q&A  >  body text

javascript - WeChat sharing cannot enter the success callback under IOS

Originally I wanted to write a code to execute after successful sharing, but the success callback cannot be entered on IOS WeChat. Have any students encountered this problem?

某草草某草草2805 days ago1501

reply all(4)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-06-05 11:12:49

    Is WeChat JSSDK debugging turned on? What happened? Is the sharing interface in the JS interface list?

    reply
    0
  • PHP中文网

    PHP中文网2017-06-05 11:12:49

    It should be the reason why the signature failed when opened again after sharing it

    reply
    0
  • PHP中文网

    PHP中文网2017-06-05 11:12:49

    Please check

    1. Is it a trusted domain name for the JS interface?

    2. Does the official account have the permission to use the sharing function (note: only the enterprise main certification number has the permission)

    3. Is there any problem with the code

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-05 11:12:49

    If you tested it on WeChat on PC and it can be triggered but not on mobile, then it should be that the link you shared is not a js safe domain

    reply
    0
  • Cancelreply