Why Can't I Long-Press to Scan a QR Code Inside an Image?

This is a WeChat Mini Program platform restriction — non-WeChat QR codes are not supported for long-press recognition inside the Mini Program. Switching the access method to "Web H5" resolves the issue.

Why This Happens​

QR codes generated on CaoLiao are displayed inside the WeChat Mini Program by default when scanned with WeChat. The Mini Program has a restriction on long-press QR code recognition — only QR codes from WeChat's official ecosystem (e.g., Mini Program codes, Official Account QR codes) support long-press recognition. All other QR codes do not.

Switch access method to Web H5

Solution​

Basic Edition and above: You can switch the QR code's "Access Method" from "WeChat Mini Program" to "Web H5." After switching, scanning opens an H5 page, which supports long-press image recognition.

View tutorial: how to switch access method

Free version users: The free version only supports WeChat Mini Program display and cannot be switched to H5, so long-press recognition is not available. Upgrade to the Basic Edition or above to unlock this option.

⚠️ Note: The following WeChat-native QR codes support long-press recognition inside the Mini Program: WeChat Mini Program codes, WeChat personal codes, WeCom personal codes, regular group codes, interoperable group codes, and Official Account QR codes. Dynamic QR codes generated by CaoLiao are not in this category.

Still Not Resolved?​

If the issue persists after switching to H5, click "Consult" → "Report Issue" in the bottom-right corner of any CaoLiao page. Our technical team will help investigate.