微信小程序订阅消息成功后,用户在设置里关闭接受消息通知,再自行打开,却无法再接收到订阅消息?

小程序 文章 2021-03-09 17:01 2944 0 全屏看文

AI助手支持GPT4.0

微信小程序订阅消息成功后,用户在设置里关闭接受消息通知,再自行打开,却无法再接收到订阅消息?After successfully subscribing to the message in the WeChat applet, the user turns off receiving notifications in the settings, and then turns it on, but can no longer receive subscription messages?

微信小程序订阅消息成功后,用户在设置里关闭接受消息通知,再自行打开,却无法再接收到订阅消息?

看了一些问答,知道调用wx.requestSubscribeMessage向用户要求发一次性订阅消息权限的时候,如果用户选择确定的同时还选择了总是保持以上选择,wx.requestSubscribeMessage的订阅弹框就不再出现。

我们的用户在选择确定的同时选择“总是保持以上选择”,然后又在设置里面把接收消息通知给关闭了,过后又打开,但是实际情况来说他再也没接收到订阅消息。

并且消息推送时后台报错:{"errcode":43101,"errmsg":"user refuse to accept the msg rid: 6046feb0-5bc8d4ed-44313776"}

这个帖子里https://developers.weixin.qq.com/community/develop/doc/0006084bad40e0fb4a6af02725d000?_at=1590572873870,看到技术员的回答是:

也就是说可能是用户这边授权订阅次数用完了,但是因为用户之前选择过“总是保持以上选择”,开发者在小程序里无法再次调起授权弹框,没办法再次向用户要求授权,导致用户不能够再接收到订阅消息。

以上个人推测,有无技术员告诉我这种情况如何解决,我们的用户相当后悔,非常希望还能接收到订阅消息。

Read some questions and answers, know how to call wx.requestSubscribeMessage When the user is asked for permission to send one-time subscription message, if the user chooses to confirm and always keep the above selection at the same time, wx.requestSubscribeMessage The subscription box will no longer appear. Our user chooses "always keep the above selection" when he chooses to confirm, and then turns off the message receiving notification in the settings, and then turns it on again. But actually, he never receives the subscription message again. And when the message is pushed, an error is reported in the background: {"errCode": 43101, "errmsg": "user refer to accept the MSG rid: 6046feb0-5bc8d4ed-44313776"} https://developers.weixin.qq.com/community/develop/doc/0006084bad40e0fb4a6af02725d000?_ At = 1590572873870, the technician's answer is: that is to say, the number of authorized subscriptions on the user's side may have run out, but because the user has previously chosen "always keep the above choices", the developer can't call up the authorization box again in the applet, and can't ask the user for authorization again, so the user can't receive the subscription message again. According to the above personal conjecture, did a technician tell me how to solve this situation? Our users are very sorry and hope to receive the subscription message.

回答:

圣殿骑士:

选择了“总是” 就是不会弹出

用户之前取消了。。。就静默状态了,你一开始拒绝了,后面改成允许也没用

因为。。。用户可发送次数还是0,要重新执行下wx.requestSubscribeMessage

默垂眸:

用户在选择确定的同时选择“总是保持以上选择” 是代表用户同意了 并且不在询问他了 但是如果订阅次数用完了 还是需要用户点击订阅按钮的 只是这个时候不会出现授权框(会直接增加用户的一次订阅通知次数的)

如果想要重新出现授权弹框 直接删除小程序重新搜索进入就行

苏军:

没有看出哪里的逻辑有问题,是你对文档的理解有误

Hypnus:你好,那请问您知道解决用户选择关闭接收消息通知再打开之后,无法再收到订阅消息,后台报错43101的问题吗?
solin:总是保持以上选择的意思是 ,以后用户再点这个消息授权的按钮就不给用户弹窗了,直接默认用户同意了,但是前提还是用户主动点这个按钮。你这里推送失败我猜是用户在设置关闭了开关以后,之前的授权次数清零了。
苏军:用户solin的解答是合理的,文档的意思就应该是这样的。

-EOF-

AI助手支持GPT4.0