Skip to content

Commit

Permalink
Release 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroMachado committed May 22, 2018
1 parent eb2a648 commit fcababf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.16.0](https://github.com/uphold/uphold-sdk-android/tree/0.16.0) (2018-05-22)
[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.15.0...0.16.0)

**Merged pull requests:**

- Add marketing consent setting [\#108](https://github.com/uphold/uphold-sdk-android/pull/108) ([SandroMachado](https://github.com/SandroMachado))

## [0.15.0](https://github.com/uphold/uphold-sdk-android/tree/0.15.0) (2018-05-22)
[Full Changelog](https://github.com/uphold/uphold-sdk-android/compare/0.14.0...0.15.0)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ repositories {
}
dependencies {
// Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.15.0:sandboxRelease@aar'`, to use the sandbox environment.
compile ('com.github.uphold:uphold-sdk-android:0.15.0@aar') {
// Add the classifier `sandboxRelease`, i.e. `'com.github.uphold:uphold-sdk-android:0.16.0:sandboxRelease@aar'`, to use the sandbox environment.
compile ('com.github.uphold:uphold-sdk-android:0.16.0@aar') {
transitive = true
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 19
versionName "0.15.0"
versionCode 20
versionName "0.16.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Promise<Card> call(UpholdRestAdapter adapter) {

Assert.assertEquals(request.getHeaders().size(), 2);
Assert.assertTrue(request.getHeaders().contains(new Header("Authorization", "Bearer fuz")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.15.0 (https://github.com/uphold/uphold-sdk-android)")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.16.0 (https://github.com/uphold/uphold-sdk-android)")));
}

@Test
Expand All @@ -92,7 +92,7 @@ public Promise<Card> call(UpholdRestAdapter adapter) {
Request request = adapter.getRequest();

Assert.assertEquals(request.getHeaders().size(), 1);
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.15.0 (https://github.com/uphold/uphold-sdk-android)")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.16.0 (https://github.com/uphold/uphold-sdk-android)")));
}

@Test
Expand All @@ -113,7 +113,7 @@ public Promise<Card> call(UpholdRestAdapter adapter) {
Request request = adapter.getRequest();

Assert.assertEquals(request.getHeaders().size(), 1);
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.15.0 (https://github.com/uphold/uphold-sdk-android)")));
Assert.assertTrue(request.getHeaders().contains(new Header("User-Agent", "uphold-android-sdk/0.16.0 (https://github.com/uphold/uphold-sdk-android)")));
}

}

0 comments on commit fcababf

Please sign in to comment.