-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
executable file
·69 lines (64 loc) · 3.84 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-biometric-keychain"
version="0.0.2">
<name>Biometric and Keychain</name>
<author>S.Al-Bacha</author>
<description>Biometric and Keychain cordova plugin for iOS and Android</description>
<license>Apache 2.0</license>
<keywords>cordova,touchid,keychain,plugin,biometric,detect change</keywords>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<repo>https://github.com/SleimanB/PTeam-Keychain-Biometric.git</repo>
<issue>https://github.com/SleimanB/PTeam-Keychain-Biometric.git</issue>
<js-module src="www/touchid.js" name="TouchID">
<clobbers target="window.plugins.touchid" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TouchID">
<param name="ios-package" value="TouchID"/>
</feature>
</config-file>
<preference name="FACEID_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSFaceIDUsageDescription">
<string>$FACEID_USAGE_DESCRIPTION</string>
</config-file>
<header-file src="src/ios/KeychainWrapper.h" />
<source-file src="src/ios/KeychainWrapper.m" />
<header-file src="src/ios/TouchID.h" />
<source-file src="src/ios/TouchID.m" />
<framework src="Security.framework" />
<framework src="Foundation.framework"/>
<framework src="LocalAuthentication.framework"/>
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TouchID" >
<param name="android-package" value="com.cordova.plugin.android.fingerprintauth.FingerprintAuth"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<!--<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" />-->
</config-file>
<source-file src="src/android/FingerprintAuth.java" target-dir="src/com/cordova/plugin/android/fingerprintauth" />
<source-file src="src/android/FingerprintAuthenticationDialogFragment.java" target-dir="src/com/cordova/plugin/android/fingerprintauth" />
<source-file src="src/android/FingerprintUiHelper.java" target-dir="src/com/cordova/plugin/android/fingerprintauth" />
<source-file src="res/android/drawable/ic_fingerprint_error.xml" target-dir="res/drawable" />
<source-file src="res/android/drawable/ic_fingerprint_success.xml" target-dir="res/drawable" />
<source-file src="res/android/drawable-hdpi/ic_fp_40px.png" target-dir="res/drawable-hdpi" />
<source-file src="res/android/drawable-mdpi/ic_fp_40px.png" target-dir="res/drawable-mdpi" />
<source-file src="res/android/drawable-nodpi/android_robot.png" target-dir="res/drawable-nodpi" />
<source-file src="res/android/drawable-xhdpi/ic_fp_40px.png" target-dir="res/drawable-xhdpi" />
<source-file src="res/android/drawable-xxhdpi/ic_fp_40px.png" target-dir="res/drawable-xxhdpi" />
<source-file src="res/android/drawable-xxxhdpi/ic_fp_40px.png" target-dir="res/drawable-xxxhdpi" />
<source-file src="res/android/layout/fingerprint_dialog_container.xml" target-dir="res/layout" />
<source-file src="res/android/layout/fingerprint_dialog_content.xml" target-dir="res/layout" />
<source-file src="res/android/values/fpauth-colors.xml" target-dir="res/values" />
<source-file src="res/android/values/fpauth-strings.xml" target-dir="res/values" />
<source-file src="res/android/values-es/fpauth-strings.xml" target-dir="res/values-es" />
</platform>
</plugin>