forked from shaithana/cordova-plugin-wezka-nativecamera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·60 lines (49 loc) · 2.63 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.wezka.nativecamera"
version="0.1.2">
<name>Wezka Native Camera</name>
<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="com.wezka.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="com.wezka.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/com/wezka/nativecameraplugin" />
<source-file src="src/android/NativeCameraLauncher.java" target-dir="src/com/wezka/nativecameraplugin" />
<source-file src="src/android/ExifHelper.java" target-dir="src/com/wezka/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>
</plugin>