Skip to content

Commit

Permalink
Update library project, add info rx2 used
Browse files Browse the repository at this point in the history
  • Loading branch information
szandrzej committed Apr 3, 2018
1 parent a67575a commit bbb9e53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -52,6 +52,7 @@ dependencies {
```
-keepattributes Signature
-dontwarn rx.**
-dontwarn io.reactivex.**
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keep class io.voucherify.android.client.** { *; }
Expand Down Expand Up @@ -96,7 +97,7 @@ androidClient = new VoucherifyAndroidClient.Builder(YOUR-PUBLIC-CLIENT-APPLICATI

## Synchronous, Rx or Async?

All the methods in SDK are provided directly or in asynchronous or rx version:
All the methods in SDK are provided directly or in asynchronous or rx (RxJava2) version:

Every method has a corresponding asynchronous extension which can be accessed through the `async()` or `rx()` method of the vouchers module.

Expand All @@ -123,7 +124,7 @@ client.vouchers().validations().async().validateVoucher("VOUCHER_CODE", new Vouc
});
```

or using RxJava:
or using RxJava (RxJava2):

```java
client.vouchers().validations()
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:3.0.0-alpha7'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'

// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Tue Apr 03 13:17:35 CEST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-milestone-1-all.zip

0 comments on commit bbb9e53

Please sign in to comment.