Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FingerprintManager-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5521)

[![BuddyBuild](https://dashboard.buddybuild.com/api/statusImage?appID=5933de925161b7000159e901&branch=master&build=latest)](https://dashboard.buddybuild.com/apps/5933de925161b7000159e901/build/latest?branch=master)

KFingerprintManager
-------------------
A small library to handle Android fingerprint APIs.
Expand All @@ -15,7 +13,7 @@ A small library to handle Android fingerprint APIs.
This library can be used to provide basic authentication through fingerprint API, using manual password as backup option. It also allows you to encrypt messages using fingerprint APIs.
This library provides a sample to show how it can be used.

[![](https://jitpack.io/v/JesusM/FingerprintManager.svg)](https://jitpack.io/#JesusM/FingerprintManager)
[![](https://jitpack.io/v/habibKhlifi/FingerprintManager.svg)](https://jitpack.io/#habibKhlifi/FingerprintManager)

### Basic use:
You import via gradle from <https://jitpack.io> adding this to your root build.gradle file:
Expand All @@ -30,10 +28,11 @@ A small library to handle Android fingerprint APIs.
and then adding the library as dependency:
```gradle
dependencies {
compile 'com.github.JesusM:FingerprintManager:{latest_version}'
compile 'com.github.habibKhlifi:FingerprintManager:{latest_version}'

}
```
(you can see which is the {latest_version} value from [releases tab](https://github.com/JesusM/FingerprintManager/releases))
(you can see which is the {latest_version} value from [releases tab](https://github.com/habibKhlifi/FingerprintManager/releases))

Create the fingerprint manager.
```java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_gravity="center_horizontal"
android:text="@string/fingerprint_hint"
android:gravity="center_horizontal"
android:textColor="?android:attr/textColorSecondary"
android:textSize="18sp" />
Expand All @@ -53,4 +52,4 @@
android:src="@drawable/fingerprint_manager_icon_white_24dp"
tools:tint="#0000fa" />

</LinearLayout>
</LinearLayout>
6 changes: 3 additions & 3 deletions kfingerprintmanager/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<resources>
<string name="cancel">Cancel</string>
<string name="cancel">Annuler</string>
<string name="use_password">Use password</string>
<string name="ok">OK</string>
<string name="password_description">Enter your password to continue</string>
<string name="new_fingerprint_enrolled_description">A new fingerprint was added to this device, so your password is required.</string>

<string name="use_fingerprint_in_future">Use fingerprint in the future</string>
<string name="use_fingerprint_to_authenticate_key" >use_fingerprint_to_authenticate_key</string>
<string name="fingerprint_description">Confirm fingerprint to continue</string>
<string name="fingerprint_hint">Touch sensor</string>
<string name="fingerprint_description">Identifier toi à l\'aide de l'empreinte digitale</string>
<string name="fingerprint_hint"></string>

<!-- Error messages -->
<string name="fingerprint_auth_not_available_msg"><![CDATA[\"Secure lock screen hasn\'t set up.\\n\" + \"Go to \'Settings -> Security -> Fingerprint\' to set up a fingerprint\"]]></string>
Expand Down