Skip to content

Commit

Permalink
Set plugin version and fix xml
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasMerz committed Dec 22, 2020
1 parent 0afb597 commit 54f67cf
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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="4.0.1">
<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="4.0.2">
<name>FingerprintAllInOne</name>
<description>Cordova plugin to use fingerprint on Android and iOS</description>
<license>MIT</license>
Expand Down Expand Up @@ -34,7 +34,7 @@
<platform name="android">
<config-file target="config.xml" parent="/*">
<platform name="android">
<preference name="AndroidXEnabled" value="true" />
<preference name="AndroidXEnabled" value="true"/>
</platform>
</config-file>

Expand All @@ -45,20 +45,17 @@
</config-file>

<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
</config-file>

<config-file target="AndroidManifest.xml" parent="application">
<activity
android:name="de.niklasmerz.cordova.biometric.BiometricActivity"
android:theme="@style/TransparentTheme"
android:exported="true" />
<activity android:name="de.niklasmerz.cordova.biometric.BiometricActivity" android:theme="@style/TransparentTheme" android:exported="true"/>
</config-file>

<framework src="src/android/build.gradle" custom="true" type="gradleReference"/>
<resource-file src="src/android/res/biometric_activity.xml" target="res/layout/biometric_activity.xml" />
<resource-file src="src/android/res/styles.xml" target="res/values/biometric-styles.xml" />
<resource-file src="src/android/res/biometric_activity.xml" target="res/layout/biometric_activity.xml"/>
<resource-file src="src/android/res/styles.xml" target="res/values/biometric-styles.xml"/>
<source-file src="src/android/PromptInfo.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/BiometricActivity.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/BiometricActivityType.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
Expand All @@ -73,7 +70,7 @@
</platform>

<engines>
<engine name="cordova-android" version=">=9.0.0" />
<engine name="cordova-android" version=">=9.0.0"/>
</engines>

</plugin>

0 comments on commit 54f67cf

Please sign in to comment.