2013-04-01 15:35:43 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2013-07-24 10:54:20 -07:00
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-09-21 12:03:08 +02:00
|
|
|
id="org.apache.cordova.camera"
|
2013-10-28 12:27:13 -07:00
|
|
|
version="0.2.5-dev">
|
2013-04-01 15:35:43 -07:00
|
|
|
<name>Camera</name>
|
2013-07-30 15:31:58 -07:00
|
|
|
<description>Cordova Camera Plugin</description>
|
2013-08-06 14:52:52 -07:00
|
|
|
<license>Apache 2.0</license>
|
2013-07-30 15:31:58 -07:00
|
|
|
<keywords>cordova,camera</keywords>
|
2013-10-21 15:33:45 -07:00
|
|
|
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git</repo>
|
|
|
|
<issue>https://issues.apache.org/jira/browse/CB/component/12320645</issue>
|
2013-07-09 14:38:37 -04:00
|
|
|
|
2013-05-23 14:51:18 -07:00
|
|
|
<js-module src="www/CameraConstants.js" name="Camera">
|
2013-06-13 14:43:56 -07:00
|
|
|
<clobbers target="Camera" />
|
2013-05-22 13:47:10 -07:00
|
|
|
</js-module>
|
2013-05-23 14:51:18 -07:00
|
|
|
|
2013-07-09 14:38:37 -04:00
|
|
|
<js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions">
|
|
|
|
<clobbers target="CameraPopoverOptions" />
|
|
|
|
</js-module>
|
2013-05-23 14:51:18 -07:00
|
|
|
|
2013-07-29 19:04:44 -07:00
|
|
|
|
|
|
|
|
2013-06-13 14:43:56 -07:00
|
|
|
<js-module src="www/Camera.js" name="camera">
|
|
|
|
<clobbers target="navigator.camera" />
|
2013-05-23 19:24:43 -07:00
|
|
|
</js-module>
|
2013-07-09 14:38:37 -04:00
|
|
|
|
2013-04-01 15:35:43 -07:00
|
|
|
<!-- android -->
|
|
|
|
<platform name="android">
|
2013-05-23 14:51:18 -07:00
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
2013-05-23 19:22:57 -07:00
|
|
|
<feature name="Camera">
|
2013-07-31 19:57:24 -04:00
|
|
|
<param name="android-package" value="org.apache.cordova.camera.CameraLauncher"/>
|
2013-05-23 14:51:18 -07:00
|
|
|
</feature>
|
2013-04-01 15:35:43 -07:00
|
|
|
</config-file>
|
2013-06-17 15:47:34 -07:00
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
</config-file>
|
2013-04-01 15:35:43 -07:00
|
|
|
|
2013-07-31 19:57:24 -04:00
|
|
|
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />
|
2013-09-09 15:10:40 -04:00
|
|
|
<source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/camera" />
|
2013-09-09 16:14:48 -04:00
|
|
|
<source-file src="src/android/ExifHelper.java" target-dir="src/org/apache/cordova/camera" />
|
2013-06-28 20:24:53 -04:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-09 14:38:37 -04:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-28 20:24:53 -04:00
|
|
|
</js-module>
|
2013-08-15 15:01:14 -07:00
|
|
|
|
2013-05-22 13:47:10 -07:00
|
|
|
</platform>
|
2013-08-15 15:01:14 -07:00
|
|
|
|
2013-10-18 10:43:26 -07:00
|
|
|
<!-- amazon-fireos -->
|
|
|
|
<platform name="amazon-fireos">
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="android-package" value="org.apache.cordova.camera.CameraLauncher"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />
|
|
|
|
<source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/camera" />
|
|
|
|
<source-file src="src/android/ExifHelper.java" target-dir="src/org/apache/cordova/camera" />
|
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
|
|
<clobbers target="CameraPopoverHandle" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
</platform>
|
|
|
|
|
2013-05-22 13:47:10 -07:00
|
|
|
<!-- ios -->
|
2013-08-15 15:01:14 -07:00
|
|
|
<platform name="ios">
|
2013-05-22 13:47:10 -07:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
2013-05-23 19:22:57 -07:00
|
|
|
<param name="ios-package" value="CDVCamera" />
|
2013-05-22 13:47:10 -07:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
2013-08-15 15:01:14 -07:00
|
|
|
|
2013-07-09 14:38:37 -04:00
|
|
|
<js-module src="www/ios/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
|
|
<clobbers target="CameraPopoverHandle" />
|
|
|
|
</js-module>
|
2013-05-23 14:51:18 -07:00
|
|
|
|
2013-05-22 13:47:10 -07:00
|
|
|
<header-file src="src/ios/CDVCamera.h" />
|
|
|
|
<source-file src="src/ios/CDVCamera.m" />
|
|
|
|
<header-file src="src/ios/CDVJpegHeaderWriter.h" />
|
|
|
|
<source-file src="src/ios/CDVJpegHeaderWriter.m" />
|
|
|
|
<header-file src="src/ios/CDVExif.h" />
|
2013-07-23 14:51:24 -07:00
|
|
|
<framework src="ImageIO.framework" weak="true" />
|
2013-07-23 17:04:26 -07:00
|
|
|
<framework src="CoreLocation.framework" />
|
2013-07-23 17:07:32 -07:00
|
|
|
<framework src="CoreGraphics.framework" />
|
2013-07-23 17:11:39 -07:00
|
|
|
<framework src="AssetsLibrary.framework" />
|
2013-07-23 17:14:59 -07:00
|
|
|
<framework src="MobileCoreServices.framework" />
|
2013-05-22 13:47:10 -07:00
|
|
|
</platform>
|
2013-06-07 11:37:25 -07:00
|
|
|
|
2013-06-21 14:16:01 -07:00
|
|
|
<!-- blackberry10 -->
|
|
|
|
<platform name="blackberry10">
|
|
|
|
<source-file src="src/blackberry10/index.js" target-dir="Camera" />
|
|
|
|
<config-file target="www/config.xml" parent="/widget">
|
|
|
|
<feature name="Camera" value="Camera"/>
|
|
|
|
</config-file>
|
2013-06-28 20:24:53 -04:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-09 14:38:37 -04:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-28 20:24:53 -04:00
|
|
|
</js-module>
|
2013-06-21 14:16:01 -07:00
|
|
|
</platform>
|
|
|
|
|
2013-06-07 11:37:25 -07:00
|
|
|
<!-- wp7 -->
|
|
|
|
<platform name="wp7">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="wp-package" value="Camera"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
2013-06-14 13:48:23 -07:00
|
|
|
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
|
|
|
|
<Capability Name="ID_CAP_ISV_CAMERA" />
|
2013-07-19 10:39:56 -07:00
|
|
|
<Capability Name="ID_CAP_MEDIALIB" />
|
2013-06-14 13:48:23 -07:00
|
|
|
</config-file>
|
|
|
|
|
2013-07-08 14:50:18 -07:00
|
|
|
<source-file src="src/wp/Camera.cs" />
|
2013-07-08 14:53:49 -07:00
|
|
|
|
2013-06-28 20:24:53 -04:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-09 14:38:37 -04:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-28 20:24:53 -04:00
|
|
|
</js-module>
|
2013-06-07 11:37:25 -07:00
|
|
|
</platform>
|
2013-06-24 14:11:43 -07:00
|
|
|
|
|
|
|
<!-- wp8 -->
|
|
|
|
<platform name="wp8">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="wp-package" value="Camera"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
|
|
|
|
<Capability Name="ID_CAP_ISV_CAMERA" />
|
2013-07-19 10:39:56 -07:00
|
|
|
<Capability Name="ID_CAP_MEDIALIB_PHOTO"/>
|
2013-06-24 14:11:43 -07:00
|
|
|
</config-file>
|
|
|
|
|
2013-07-08 14:50:18 -07:00
|
|
|
<source-file src="src/wp/Camera.cs" />
|
2013-06-28 20:24:53 -04:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-09 14:38:37 -04:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-28 20:24:53 -04:00
|
|
|
</js-module>
|
2013-06-24 14:11:43 -07:00
|
|
|
</platform>
|
2013-07-29 19:04:44 -07:00
|
|
|
|
|
|
|
<!-- windows8 -->
|
|
|
|
<platform name="windows8">
|
|
|
|
|
2013-09-25 15:02:03 +02:00
|
|
|
<dependency id="org.apache.cordova.file" />
|
2013-08-15 15:01:14 -07:00
|
|
|
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
|
|
|
|
<Capability Name="picturesLibrary" />
|
|
|
|
<DeviceCapability Name="webcam" />
|
|
|
|
</config-file>
|
2013-07-29 19:04:44 -07:00
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
|
|
<clobbers target="CameraPopoverHandle" />
|
|
|
|
</js-module>
|
|
|
|
<js-module src="src/windows8/CameraProxy.js" name="CameraProxy">
|
|
|
|
<merges target="" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
</platform>
|
2013-09-18 16:22:13 -07:00
|
|
|
|
|
|
|
<!-- firefoxos -->
|
|
|
|
<platform name="firefoxos">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="firefoxos-package" value="Camera" />
|
|
|
|
</feature>
|
2013-10-08 10:49:02 -07:00
|
|
|
</config-file>
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
|
|
<clobbers target="CameraPopoverHandle" />
|
|
|
|
</js-module>
|
2013-09-18 16:22:13 -07:00
|
|
|
<js-module src="src/firefoxos/CameraProxy.js" name="CameraProxy">
|
|
|
|
<runs />
|
|
|
|
</js-module>
|
|
|
|
</platform>
|
2013-08-15 15:01:14 -07:00
|
|
|
|
2013-04-01 15:35:43 -07:00
|
|
|
</plugin>
|