tjwoon / csZBar

Cordova plugin to integrate with the ZBar barcode scanning library.
Other
143 stars 180 forks source link

iOS 11 zbar not showing #117

Open cychong opened 6 years ago

cychong commented 6 years ago

The zbar did not appear when I try to launch in iOS11, and when launch again it say "A scan is already in progress". Try on iOS10 it's working fine.

rwresham038 commented 6 years ago

I am also facing same issue, any solution ?

DragonSkyMine commented 6 years ago

I have the same issue with Xcode 9.0, but by compiling the same project with Xcode 8.3.3 my app work on IOS 11 To get Xcode 8.3.3 : https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_8.3.3/Xcode8.3.3.xip

jonnywhite commented 6 years ago

Thanks @DragonSkyMine

When I try running on a test device with xcode 8.3 I get the following error:

This iPod touch (6th generation) is running iOS 11.0.2 (15A421), which may not be supported by this version of Xcode.

Did you manage to overcome this?

jonnywhite commented 6 years ago

I managed to get this working. Although I couldn't run on the test device directly from Xcode, I could run it if I uploaded to itunes and installed via testflight. The barcode scanner did then work. Thanks for the tip @DragonSkyMine !!

phongphan commented 6 years ago

If you don't want to downgrade xcode to 8.3.3. You could use mine (#122), or #120 if you don't care about hiding the Info button

sagarpdesai commented 6 years ago

After scratching my head over this for 2 days, I finally switched to this plugin and things have worked well since then. cordova plugin add phonegap-plugin-barcodescanner Details: https://www.sitepoint.com/scanning-qr-code-cordova/ Note: cordova-plugin-barcodescanner kept giving errors in Android, but phonegap-plugin-barcodescanner worked.