coincidentally, I have made similar requirements. Let me tell you my test results:
1. Use wx.previewImage
to identify ordinary QR codes. Wechat of Android version supports it, while IOS version does not support
2 and Mini Program QR codes. With wx.previewImage
, both Android and IOS versions are perfectly identified
.
provides a bypass solution: boot and let the user jump to an environment other than Mini Program.
for example, open a customer service session and let the user take the initiative to send a message and send a QR code for the user. The QR code in this environment is recognizable.
PS: has seen some rickshaw Mini Program do this before, but now he can't find it.
it seems that Mini Program cannot identify the QR code by pressing as long as Wechat. The developer also intended to have this requirement before, but after checking around, he found that there was really no such function
Don't think about it, it is not supported at present.
without
Mini Program, many functions are not allowed to be done now, not even virtual support for reward.
Mini and Micro App Store
Mini and Micro App Store
Mini Program can't recognize other QR codes except Mini Program's QR code. As said upstairs, he can only guide
.