forked from rewireltd1/cordova-plugin-onfido
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·70 lines (59 loc) · 2.8 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-onfido"
version="1.1.2">
<name>Onfido</name>
<description>Cordova plugin for Onfido</description>
<license>MIT</license>
<keywords>onfido,onfido-cordova,onfido-plugin,onfido-cordova-ios,onfido-cordova-android</keywords>
<repo>https://github.com/rewireltd1/cordova-plugin-onfido.git</repo>
<!-- <engines>
<engine name="cordova" version=">=6.4.0" />
<engine name="cordova-android" version=">=4.0.0" />
<engine name="cordova-ios" version=">=4.3.1" />
</engines> -->
<js-module name="Onfido" src="www/onfido.js">
<clobbers target="onfido"/>
<clobbers target="cordova.plugins.onfido"/>
<clobbers target="plugin.onfido"/>
</js-module>
<config-file target="app/src/main/AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.plugin.onfido.OnfidoActivity" android:label="Onfido Activity">
<intent-filter>
<action android:name="com.plugin.onfido.OnfidoActivity"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</config-file>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Onfido">
<param name="android-package" value="com.plugin.onfido.OnFidoBridge"/>
<param name="android-package-OnfidoActivity" value="com.plugin.onfido.OnfidoActivity"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<source-file src="src/android/OnFidoBridge.java" target-dir="src/com/plugin/onfido"/>
<source-file src="src/android/OnfidoActivity.java" target-dir="src/com/plugin/onfido"/>
<framework src="src/android/onfido.gradle" custom="true" type="gradleReference"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Onfido">
<param name="ios-package" value="OnFidoBridge" onload="true"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>Required for document and facial capture</string>
</config-file>
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>Required for video capture</string>
</config-file>
<header-file src="src/ios/OnFidoBridge.h"/>
<source-file src="src/ios/OnFidoBridge.m"/>
<pods-config ios-min-version="9.0" use-frameworks="true"/>
<framework src="Onfido" type="podspec" spec="13.2.0"/>
</platform>
</plugin>