Skip to content

Commit

Permalink
1.3.0-rc2 preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Makarov committed Aug 24, 2022
1 parent 3dfa876 commit 55f1aae
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 17 deletions.
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ 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:1.2.1"
implementation "com.github.fingerprintjs:fingerprint-android:1.3.0-rc2"
}
Expand Down Expand Up @@ -119,7 +119,7 @@ Kotlin

// Initialization
val fingerprinter = FingerprinterFactory
.getInstance(applicationContext, Configuration(version = 3))
.getInstance(applicationContext, Configuration(version = 4))


// Usage
Expand All @@ -140,7 +140,7 @@ Java

// Initialization
Fingerprinter fingerprinter = FingerprinterFactory
.getInstance(getApplicationContext(), new Configuration(3));
.getInstance(getApplicationContext(), new Configuration(4));


// Usage
Expand Down Expand Up @@ -175,7 +175,7 @@ The `version` is set while the initialization of the library with `Configuration
```kotlin

val fingerprinter = FingerprinterFactory
.getInstance(applicationContext, Configuration(version = 3))
.getInstance(applicationContext, Configuration(version = 4))

```

Expand All @@ -185,13 +185,6 @@ See full [Kotlin reference](docs/kotlin_reference.md)/[Java reference](docs/java

Try all the library features in the [Playground App](https://github.com/fingerprintjs/fingerprint-android/releases/download/1.2/Playground-release-1.2.apk).


<p align="center">
<a href="https://github.com/fingerprintjs/fingerprint-android/releases/download/1.2/Playground-release-1.2.apk">
<img src="resources/playground-1.2-QR.png" alt="PlaygroundApp" width="300px" />
</a>
</p>

## Android API support

fingerprint-android supports API versions from 21 (Android 5.0) and higher.
Expand Down
4 changes: 2 additions & 2 deletions fingerprint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
mavenJava(MavenPublication) {
groupId = 'com.github.fingerprintjs'
artifactId = "fingerprint-android"
version = '1.2.1'
artifact("$buildDir/outputs/aar/fingerprint-android-1.2.1-release.aar")
version = '1.3.0-rc2'
artifact("$buildDir/outputs/aar/fingerprint-android-1.3.0-rc2-release.aar")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class InstrumentedTests {
fun testFpAllResultsAvailable() {
val fingerprinter = FingerprinterFactory.getInstance(
context = context,
configuration = Configuration(version = 3),
configuration = Configuration(version = 4),
)

val deviceId = callbackToSync<DeviceIdResult> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import com.fingerprintjs.android.fingerprint.tools.hashers.MurMur3x64x128Hasher

object FingerprinterFactory {

private var configuration: Configuration = Configuration(version = 3)
private var configuration: Configuration = Configuration(version = 4)
private var instance: Fingerprinter? = null
private var hasher: Hasher = MurMur3x64x128Hasher()

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4096m
kotlin.code.style=official
VERSION_NAME=1.2.1
VERSION_CODE=6
VERSION_NAME=1.3.0-rc2
VERSION_CODE=7
Binary file removed resources/playground-1.2-QR.png
Binary file not shown.

0 comments on commit 55f1aae

Please sign in to comment.