Add NSCameraUsageDescription to info.plist when adding the plugin to the project.

This commit is contained in:
tylervz 2016-09-16 09:36:46 -05:00
parent 9865024ebf
commit b0342bfa4c

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" />