Merge pull request #83 from tylervz5/iOS_10

Fix for the plugin crashing on iOS 10
This commit is contained in:
Daniel Cousens 2016-09-17 16:22:21 +10:00 committed by GitHub
commit 31e2eda04b

View File

@ -71,6 +71,12 @@
<param name="ios-package" value="CsZBar"/>
</feature>
</config-file>
<!-- Declare Camera Usage for iOS10+ -->
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>For Barcode Scanning</string>
</config-file>
<framework src="AVFoundation.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreVideo.framework" />