- ios中使用js-sdk刚进入页面调用wx.config可以成功,后续再次调用没效果?
在ios中使用js-sdk调用wx.config时,debug设置为true,刚进入页面时可以调用成功,会弹提示。后续切换页面或者刷新页面再次调用都不会弹窗提示成功或失败,wx.ready和wx.error都没有走,安卓每次都可以正常调用。
11-19 - h5使用js-sdk调用分享朋友功能时,开发者工具wx.config显示ok,真机调试显示没权限?
h5调用js-sdk,进行wx.config配置时,开发者调试和真机调试的信息不一致。 这是开发者工具的提示:[图片]这是真机调试报的问题:[图片]
10-28 - showShareImageMenu分享图片时,发送给朋友失败,保存图片和分享朋友圈都正常?
showShareImageMenu分享图片时,发送给朋友进行跳转选择朋友,然后点击发送消息,后面自动回调分享页,但实际消息没有发送成功,保存图片和分享朋友圈都正常?体验版本调试时,也进入到了showShareImageMenu成功的回调中。[图片] 这里是使用官方的图片测试了下。 handleShare() { wx.downloadFile({ url: 'https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg', success: (res) => { console.log(res, 'downloadFile-success') wx.showShareImageMenu({ path: res.tempFilePath, success: (res) => { console.log(res, 'res==success-default') }, fail: (error) => { console.log(error, 'res==error-default') }, complete: (complete) => { console.log(complete, 'res==complete-default') }, }) }, fail: (error) => { console.log(error, 'res==error-downloadFile') }, complete: (complete) => { console.log(complete, 'res==complete-downloadFile') }, }); } view <view class="container"> <div bind:tap="handleShare">确认分享</div> </view>
10-21 - 小程序嵌套h5时,如何调用小程序的showShareImageMenu实现图片分享?
小程序嵌套h5时在web-view中如何调用小程序的showShareImageMenu实现图片分享,使用postmessage时,没办法实时获取到传输的信息,只有在特定操作下才会触发。 试着在h5端发送postmessage后调用小程序的navgateTo,发现也没有及时触发小程序的bindmessage
10-19