Skip to content

Commit

Permalink
[2.0.0] prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauin committed Nov 5, 2016
1 parent 5d2692c commit 0345100
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ see [Encryption/Decryption](#encryption-and-decryption).
To use RxFingerprint in your project, add the library as a dependency in your `build.gradle` file:
```groovy
dependencies {
compile 'com.mtramin:rxfingerprint:1.2.2'
compile 'com.mtramin:rxfingerprint:2.0.0'
}
```

Expand All @@ -34,7 +34,7 @@ Below you will find an overview on how to use the different functionalities of R
To simply authenticate the user with his fingerprint, call the following:

``` java
Subscription subscription = RxFingerprint.authenticate(this)
Disposable disposable = RxFingerprint.authenticate(this)
.subscribe(fingerprintAuthenticationResult -> {
switch (fingerprintAuthenticationResult.getResult()) {
case FAILED:
Expand Down Expand Up @@ -65,7 +65,7 @@ By unsubscribing from the Subscription, the fingerprint sensor will be disabled
Usage of the Encryption and decryption features of RxFingerprint are very similar to simple authentication calls. For more details about the cryptography used and it's security, see [Cryptography](#cryptography)

``` java
Subscription subscription = RxFingerprint.encrypt(this, stringToEncrypt)
Disposable disposable = RxFingerprint.encrypt(this, stringToEncrypt)
.subscribe(encryptionResult -> {
switch (fingerprintEncryptionResult.getResult()) {
case FAILED:
Expand All @@ -89,7 +89,7 @@ The given String will be encrypted with a key in the Android KeyStore and return
Store the encrypted String anywhere and use it later to decrypt the original value by calling:

``` java
Subscription subscription = RxFingerprint.decrypt(this, encryptedString)
Disposable disposable = RxFingerprint.decrypt(this, encryptedString)
.subscribe(decryptionResult -> {
switch (fingerprintDecryptionResult.getResult()) {
case FAILED:
Expand Down Expand Up @@ -136,7 +136,7 @@ After the encryption step all results will be Base64 encoded for easier transpor

RxFingerprint brings the following dependencies:

- RxJava
- RxJava2
- AppCompat-v7 to allow for backwards compability (which will just do nothing)

## Bugs and Feedback
Expand Down
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
ext.versions = [
// Version
code : 1,
name : '1.2.2',
name : '2.0.0',

// Android Versions
compileSdk : 24,
Expand Down Expand Up @@ -47,4 +47,4 @@ ext.gradlePlugins = [
retrolambda: "me.tatarka:gradle-retrolambda:$versions.retrolambdaGradlePlugin",
maven : "com.github.dcendents:android-maven-gradle-plugin:$versions.mavenGradlePlugin",
bintray : "com.jfrog.bintray.gradle:gradle-bintray-plugin:$versions.bintrayGradlePlugin"
]
]
2 changes: 1 addition & 1 deletion rxfingerprint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ dependencies {
testCompile "org.powermock:powermock-api-mockito:$versions.powermock"
}

//apply from: 'publish.gradle'
//apply from: 'publish.gradle'

0 comments on commit 0345100

Please sign in to comment.