Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Makarov committed May 12, 2023
1 parent 6ec6512 commit 5edc903
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,19 @@ allprojects {

### 2. Add dependency

Add these lines to `build.gradle` of a module.

This library depends on [kotlin-stdlib](https://kotlinlang.org/api/latest/jvm/stdlib/).

If your application is written in Java, add `kotlin-stdlib` dependency first (it's lightweight and has excellent backward and forward compatibility).
Add this to a `build.gradle` of a module.

```gradle
dependencies {
// Add this line only if you use this library with Java
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
...
implementation "com.github.fingerprintjs:fingerprint-android:2.0.0"
}
```

Note that the library has the following runtime dependencies:
- [kotlin-stdlib](https://kotlinlang.org/api/latest/jvm/stdlib/)
- [androidx.appcompat](https://developer.android.com/jetpack/androidx/releases/appcompat)

### 3. Get deviceIDs and fingerprints

Kotlin
Expand Down

0 comments on commit 5edc903

Please sign in to comment.