-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·56 lines (40 loc) · 1.87 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-vddocumentcapture"
version="1.0.0">
<name>Veridas VDDocumentCapture SDK Cordova Plugin</name>
<description></description>
<license>MIT</license>
<keywords></keywords>
<repo>https://github.com/davgc/cordova-plugin-vddocumentcapture.git</repo>
<engines>
<engine name="cordova" version=">=6.4.0" />
<engine name="cordova-android" version=">=5.1.0" />
<engine name="cordova-ios" version=">=4.5.0" />
</engines>
<!-- android -->
<!-- ios -->
<platform name="ios">
<preference name="CAMERA_PERMISION" default="This app wants to get your location while this app runs only."/>
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="CDVVDDocumentCapture" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="CDVVDDocumentCapture">
<param name="ios-package" value="CDVVDDocumentCapture" onload="false" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>$CAMERA_PERMISION</string>
</config-file>
<dependency id="cordova-plugin-vdcore" url="https://github.com/davgc/cordova-plugin-vdcore.git#ios-only"/>
<header-file src="src/ios/CDVVDDocumentCapture.h" />
<source-file src="src/ios/CDVVDDocumentCapture.m" />
<header-file src="src/ios/VDDocumentCaptureConfig.h" />
<source-file src="src/ios/VDDocumentCaptureConfig.m" />
<header-file src="src/ios/VDWebView.h" />
<source-file src="src/ios/VDWebView.m" />
<framework src="src/ios/Framework/VDDocumentCapture.framework" embed="true" custom="true"/>
</platform>
</plugin>