Skip to content

Commit

Permalink
Merge pull request tjwoon#83 from tylervz5/iOS_10
Browse files Browse the repository at this point in the history
Fix for the plugin crashing on iOS 10
  • Loading branch information
dcousens authored Sep 17, 2016
2 parents 9865024 + b0342bf commit 31e2eda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down

0 comments on commit 31e2eda

Please sign in to comment.