Add NSCameraUsageDescription to info.plist when adding the plugin to the project.
This commit is contained in:
parent
9865024ebf
commit
b0342bfa4c
@ -71,6 +71,12 @@
|
|||||||
<param name="ios-package" value="CsZBar"/>
|
<param name="ios-package" value="CsZBar"/>
|
||||||
</feature>
|
</feature>
|
||||||
</config-file>
|
</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="AVFoundation.framework" />
|
||||||
<framework src="CoreMedia.framework" />
|
<framework src="CoreMedia.framework" />
|
||||||
<framework src="CoreVideo.framework" />
|
<framework src="CoreVideo.framework" />
|
||||||
|
Loading…
Reference in New Issue
Block a user