Fixed undefined permission

parent f06a0b08
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
<license>MIT</license> <license>MIT</license>
<repo>https://github.com/phonegap/phonegap-plugin-barcodescanner</repo> <repo>https://github.com/phonegap/phonegap-plugin-barcodescanner</repo>
<issue>https://github.com/phonegap/phonegap-plugin-barcodescanner/issues</issue> <issue>https://github.com/phonegap/phonegap-plugin-barcodescanner/issues</issue>
<preference name="CAMERA_USAGE_DESCRIPTION" default=" "/>
<engines> <engines>
<engine name="cordova" version=">=3.0.0"/> <engine name="cordova" version=">=3.0.0"/>
</engines> </engines>
...@@ -18,6 +17,7 @@ ...@@ -18,6 +17,7 @@
<param name="ios-package" value="CDVBarcodeScanner"/> <param name="ios-package" value="CDVBarcodeScanner"/>
</feature> </feature>
</config-file> </config-file>
<preference name="CAMERA_USAGE_DESCRIPTION" default=" "/>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription"> <config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>$CAMERA_USAGE_DESCRIPTION</string> <string>$CAMERA_USAGE_DESCRIPTION</string>
</config-file> </config-file>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment