cordova-plugin-keychain-touch-id-face-touch-detect
Version: 
Scan the fingerprint of your user with the TouchID sensor (iPhone 5S, iPhone 6(S), ..) and control a key in the Keychain
66 lines (60 loc) • 3.69 kB
text/xml
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
        id="cordova-plugin-keychain-touch-id"
		version="3.2.1">
    <name>TouchID and Keychain</name>
	  <author>S.J.Hoeksma</author>
    <description>TouchID and Keychain cordova plugin for iOS</description>
    <license>Apache 2.0</license>
    <keywords>cordova,touchid,keychain,plugin</keywords>
    <engines>
      <engine name="cordova" version=">=3.0.0"/>
    </engines>
    <repo>https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id.git</repo>
    <issue>https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id/issues</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>
        <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>