forked from geneanet/customCamera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
89 lines (77 loc) · 4.64 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.geneanet.customCamera"
version="0.2.0"
>
<name>GeneanetCustomCamera</name>
<description>This cordova plugin is an alternative to the official cordova plugin (camera). It starts a custom camera: image overlay with an opacity slider, user-defined color of the buttons, activating/deactivating functions.</description>
<license>BSD</license>
<keywords>custom,camera,geneanet</keywords>
<repo>https://github.com/geneanet/customCamera</repo>
<issue>https://github.com/geneanet/customCamera/issues</issue>
<js-module src="www/customCamera.js" name="GeneanetCustomCamera">
<clobbers target="navigator.GeneanetCustomCamera" />
</js-module>
<dependency id="cordova-plugin-compat" version="^1.1.0" />
<hook type="after_plugin_install" src="hooks/after_plugin_install/npminstall.js" />
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CustomCamera">
<param name="android-package" value="org.geneanet.customcamera.CameraLauncher"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/geneanet/customcamera" />
<source-file src="src/android/customCamera/src/org/geneanet/customcamera/ManagerCamera.java" target-dir="src/org/geneanet/customcamera" />
<source-file src="src/android/customCamera/src/org/geneanet/customcamera/CameraPreview.java" target-dir="src/org/geneanet/customcamera" />
<source-file src="src/android/customCamera/src/org/geneanet/customcamera/VerticalSeekBar.java" target-dir="src/org/geneanet/customcamera" />
<source-file src="src/android/customCamera/src/org/geneanet/customcamera/BitmapUtils.java" target-dir="src/org/geneanet/customcamera" />
<source-file src="src/android/customCamera/src/org/geneanet/customcamera/TmpFileUtils.java" target-dir="src/org/geneanet/customcamera" />
<hook type="before_compile" src="hooks/before_compile/generateActivity.js" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CustomCamera">
<param name="ios-package" value="CustomCamera" />
</feature>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="LocalStorage">
<param name="ios-package" value="CDVLocalStorage" />
</feature>
</config-file>
<header-file src="src/ios/classes/CustomCamera.h" />
<source-file src="src/ios/classes/CustomCamera.m" />
<header-file src="src/ios/classes/AVCamPreviewView.h" />
<source-file src="src/ios/classes/AVCamPreviewView.m" />
<header-file src="src/ios/classes/AVCamViewController.h" />
<source-file src="src/ios/classes/AVCamViewController.m" />
<header-file src="src/ios/classes/CameraParameter.h" />
<source-file src="src/ios/classes/CameraParameter.m" />
<resource-file src="src/ios/classes/AVCamViewController_iPhone.xib" />
<resource-file src="src/ios/classes/AVCamViewController_iPad.xib" />
<resource-file src="src/ios/image/icon_back.png" />
<resource-file src="src/ios/image/icon_capture_pressed.png" />
<resource-file src="src/ios/image/icon_capture.png" />
<resource-file src="src/ios/image/icon_delete.png" />
<resource-file src="src/ios/image/icon_flash_auto.png" />
<resource-file src="src/ios/image/icon_flash_off.png" />
<resource-file src="src/ios/image/icon_flash.png" />
<resource-file src="src/ios/image/icon_flip.png" />
<resource-file src="src/ios/image/icon_max.png" />
<resource-file src="src/ios/image/icon_min.png" />
<resource-file src="src/ios/image/icon_submit.png" />
<resource-file src="src/ios/image/sample.png" />
<framework src="CoreGraphics.framework" weak="true" />
<framework src="AssetsLibrary.framework" weak="true" />
<framework src="AVFoundation.framework" weak="true" />
<framework src="CoreAudio.framework" weak="true" />
<framework src="CoreLocation.framework" weak="true" />
<framework src="MobileCoreServices.framework" weak="true" />
</platform>
</plugin>