<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
        id="com.customcamera.tawsif"
        version="0.7.0">

  <name>Hello</name>

  <engines>
    <engine name="cordova" version=">=3.1.0"/>
  </engines>

  <asset src="www/customCameraTawsif.js" target="js/customCameraTawsif.js"/>

  <js-module src="www/customCameraTawsif.js" name="customCameraTawsif">
    <clobbers target="customCameraTawsif" />
  </js-module>



  <platform name="ios">
    <config-file overwrite="true" parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
      <string>The images captured by the camera are used in the item measurement screen. The image is used to align the shape border around the window or door and enter the dimensions</string>
    </config-file>
	<config-file overwrite="true" parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
      <string>The images selected from the library are used in the item measurement screen. The image is used to align the shape border around the window or door and enter the dimensions</string>
    </config-file>	
	<config-file overwrite="true" parent="NSMotionUsageDescription" platform="ios" target="*-Info.plist">
      <string>The app uses the accelerometer to display a spirit level to assist taking level photos</string>
    </config-file>
	<config-file overwrite="true" parent="NSMicrophoneUsageDescription" platform="ios" target="*-Info.plist">
      <string>The app uses the microphone to record audio notes in the item details screen</string>
    </config-file>
	<config-file overwrite="true" parent="NSSpeechRecognitionUsageDescription" platform="ios" target="*-Info.plist">
      <string>The app uses speech recognition to receive voice input on the project details and item details screens</string>
    </config-file>
    <config-file target="config.xml" parent="/widget">
      <feature name="CustomCameraTawsif">
        <param name="ios-package" value="CustomCameraTawsif" />
      </feature>
    </config-file>


    <header-file src="src/ios/CustomCameraTawsif.h" />
    <header-file src="src/ios/CustomCameraTawsifViewController.h" />
    <header-file src="src/ios/DrawView.h" />
    <header-file src="src/ios/UIImage+FixOrientation.h" />
    <source-file src="src/ios/UIImage+FixOrientation.m" />
    <source-file src="src/ios/DrawView.m" />
    <source-file src="src/ios/CustomCameraTawsif.m" />
    <source-file src="src/ios/CustomCameraTawsifViewController.m" />
    <resource-file src="src/ios/CustomCameraTawsifViewController.xib" />

  </platform>

  

</plugin>