mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-19 03:35:10 +08:00
57 lines
1.9 KiB
XML
57 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
id="org.apache.cordova.core.CameraLauncher"
|
|
version="0.1.0">
|
|
<name>Camera</name>
|
|
|
|
<js-module src="www/Camera.js" name="camera">
|
|
<merges target="navigator.camera" />
|
|
</js-module>
|
|
|
|
<js-module src="www/CameraConstants.js" name="Camera">
|
|
<merges target="Camera" />
|
|
</js-module>
|
|
|
|
<js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions">
|
|
<merges target="CameraPopoverOptions" />
|
|
</js-module>
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
<merges target="CameraPopoverHandle" />
|
|
</jsr-module>
|
|
|
|
<!-- android -->
|
|
<platform name="android">
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="Camera">
|
|
<param name="android-package" value="org.apache.cordova.core.CameraLauncher"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/core" />
|
|
</platform>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Camera">
|
|
<param name="ios-package" value="CDVCamera" />
|
|
</feature>
|
|
</config-file>
|
|
<!--
|
|
<js-module src="www/ios/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
<merges target="CameraPopoverHandle" />
|
|
</js-module>
|
|
-->
|
|
|
|
<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" />
|
|
</platform>
|
|
|
|
</plugin>
|