forked from NiklasMerz/cordova-plugin-fingerprint-aio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
69 lines (61 loc) · 4.02 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" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-fingerprint-aio" version="1.3.6">
<name>FingerprintAllInOne</name>
<description>Cordova plugin to use fingerprint on Android and iOS</description>
<license>MIT</license>
<keywords>cordova,plugin,android,fingerprint,authentication,ios</keywords>
<repo>https://github.com/niklasmerz/cordova-plugin-fingerprint-aio.git</repo>
<issue>https://github.com/cordova-plugin-fingerprint-aio/issues</issue>
<js-module src="www/Fingerprint.js" name="Fingerprint">
<clobbers target="Fingerprint"/>
</js-module>
<!-- ios -->
<platform name="ios">
<dependency id="cordova-plugin-add-swift-support" version="^1.7.1"/>
<config-file target="config.xml" parent="/*">
<feature name="Fingerprint">
<param name="ios-package" value="Fingerprint"/>
</feature>
</config-file>
<source-file src="src/ios/Fingerprint.swift"/>
<!-- Usage description of Face ID for iOS 11+ -->
<preference name="FACEID_USAGE_DESCRIPTION" default=" "/>
<config-file target="*-Info.plist" parent="NSFaceIDUsageDescription">
<string>$FACEID_USAGE_DESCRIPTION</string>
</config-file>
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Fingerprint">
<param name="android-package" value="de.niklasmerz.cordova.fingerprint.Fingerprint"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
</config-file>
<source-file src="src/android/Fingerprint.java" target-dir="src/de/niklasmerz/cordova/fingerprint"/>
<source-file src="src/android/FingerprintAuthenticationDialogFragment.java" target-dir="src/de/niklasmerz/cordova/fingerprint"/>
<source-file src="src/android/FingerprintUiHelper.java" target-dir="src/de/niklasmerz/cordova/fingerprint"/>
<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"/>
<resource-file src="res/android/drawable-hdpi/ic_fp_40px.png" target="res/drawable-hdpi/ic_fp_40px.png"/>
<resource-file src="res/android/drawable-mdpi/ic_fp_40px.png" target="res/drawable-mdpi/ic_fp_40px.png"/>
<resource-file src="res/android/drawable-nodpi/android_robot.png" target="res/drawable-nodpi/android_robot.png"/>
<resource-file src="res/android/drawable-xhdpi/ic_fp_40px.png" target="res/drawable-xhdpi/ic_fp_40px.png"/>
<resource-file src="res/android/drawable-xxhdpi/ic_fp_40px.png" target="res/drawable-xxhdpi/ic_fp_40px.png"/>
<resource-file src="res/android/drawable-xxxhdpi/ic_fp_40px.png" target="res/drawable-xxxhdpi/ic_fp_40px.png"/>
<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"/>
<source-file src="res/android/values-de/fpauth-strings.xml" target-dir="res/values-de"/>
<source-file src="res/android/values-fr/fpauth-strings.xml" target-dir="res/values-fr"/>
<source-file src="res/android/values-zh/fpauth-strings.xml" target-dir="res/values-zh"/>
<source-file src="res/android/values-pt/fpauth-strings.xml" target-dir="res/values-pt"/>
<source-file src="res/android/values-it/fpauth-strings.xml" target-dir="res/values-it"/>
<source-file src="res/android/values-el/fpauth-strings.xml" target-dir="res/values-el"/>
<source-file src="res/android/values-zh-rTW/fpauth-strings.xml" target-dir="res/values-zh-rTW"/>
</platform>
</plugin>