This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
forked from shaithana/cordova-plugin-wezka-nativecamera
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplugin.xml
executable file
·120 lines (93 loc) · 4.7 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?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.wbt11a.nativecamera"
version="0.1.4">
<name>Native Camera</name>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<description>Android Native Camera with Flash, Rear Facing Camera, Autozoom. iOS Camera mirror of Apache Camera (cordova-plugin-camera)</description>
<author>wezka-nativecamera</author>
<keywords>cordova,camera,flash</keywords>
<license>MIT</license>
<repo>https://github.com/wbt11a/cordova-plugin-wezka-nativecamera.git</repo>
<js-module src="www/CameraConstants.js" name="Camera">
<clobbers target="Camera" />
</js-module>
<js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions">
<clobbers target="CameraPopoverOptions" />
</js-module>
<js-module src="www/Camera.js" name="camera">
<clobbers target="navigator.camera" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Camera">
<param name="android-package" value="org.wbt11a.nativecamera.NativeCameraLauncher"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:label="nativecameraplugin"
android:name="org.wbt11a.nativecamera.CameraActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
</activity>
</config-file>
<source-file src="src/android/CameraActivity.java" target-dir="src/org/wb11a/nativecameraplugin" />
<source-file src="src/android/NativeCameraLauncher.java" target-dir="src/org/wbt11a/nativecameraplugin" />
<source-file src="src/android/ExifHelper.java" target-dir="src/org/wbt11a/nativecameraplugin" />
<source-file src="src/android/nativecameraplugin.xml" target-dir="res/layout" />
<source-file src="res/btn_shot.png" target-dir="res/drawable" />
<source-file src="res/btn_flip.png" target-dir="res/drawable" />
<source-file src="res/btn_flash_on.png" target-dir="res/drawable" />
<source-file src="res/btn_flash_no.png" target-dir="res/drawable" />
<source-file src="res/btn_flash_auto.png" target-dir="res/drawable" />
<source-file src="res/viewfinder.png" target-dir="res/drawable" />
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
<clobbers target="CameraPopoverHandle" />
</js-module>
</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">
<clobbers 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" />
<framework src="ImageIO.framework" weak="true" />
<framework src="CoreLocation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="AssetsLibrary.framework" />
<framework src="MobileCoreServices.framework" />
</platform>
<!-- windows8 -->
<platform name="windows8">
<dependency id="org.apache.cordova.file" />
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
<Capability Name="picturesLibrary" />
<DeviceCapability Name="webcam" />
</config-file>
<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>
</plugin>