IOS real machine debugging uni.scanCode call error, black screen

ios calls uni.scanCode to report an error, and the real device test black screen.

Solved :

1. Upgrade HBuilder to the latest version.

2. Added the corresponding module permission configuration (Barcode (scan code) and Camera&Gallery camera and photo album) in the manifest.json file.

3. Check the permission configuration corresponding to the app.

4. Delete the custom base , reconfigure the custom base or use the standard base to run.

Guess you like

Origin blog.csdn.net/zdb1314/article/details/129475979