<?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" version="1.3.6">
  <name>FingerprintAllInOne</name>
  <description>Cordova plugin to use fingerprint on Android</description>
  <license>MIT</license>
  <keywords>cordova,plugin,android,fingerprint,authentication</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>

  <!-- 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>