diff --git a/CHANGELOG.md b/CHANGELOG.md index d9665b690..37d2787b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog ========= +[1.0.0-beta08](https://github.com/hyperwallet/hyperwallet-android-ui-sdk/releases/tag/1.0.0-beta08) +------------------- +* Added support for update Transfer method +* Enhancements + [1.0.0-beta07](https://github.com/hyperwallet/hyperwallet-android-ui-sdk/releases/tag/1.0.0-beta07) ------------------- * Added Prepaid Card support diff --git a/README.md b/README.md index 310ae0dd1..0c5bd6ee9 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ Note that this SDK is geared towards those who need both backend data and UI fea To install Hyperwallet UI SDK, you just need to add the dependencies into your build.gradle file in Android Studio (or Gradle). For example: ```bash -api 'com.hyperwallet.android.ui:transfermethodui:1.0.0-beta07' -api 'com.hyperwallet.android.ui:receiptui:1.0.0-beta07' -api 'com.hyperwallet.android.ui:transferui:1.0.0-beta07' +api 'com.hyperwallet.android.ui:transfermethodui:1.0.0-beta08' +api 'com.hyperwallet.android.ui:receiptui:1.0.0-beta08' +api 'com.hyperwallet.android.ui:transferui:1.0.0-beta08' ``` ### Proguard @@ -171,6 +171,20 @@ public void onClick(View view) { } ``` +### Update a transfer method +The second argument is a token that represents a Transfer method. +The third argument is boolean flag to control view orientation, lockScreenToPortrait set to true +```java +@Override +public void onClick(View view) { + Intent intent = mHyperwalletTransferMethodUi.getIntentUpdateTransferMethodActivity( + MainActivity.this, + "trm-12345", + false); + startActivity(intent); +} +``` + ### List the user's receipts The second argument is boolean flag to control view orientation, lockScreenToPortrait set to true will lock the screen to Portrait orientation otherwise it will just follow device orientation. diff --git a/build.gradle b/build.gradle index 18ff3aa14..6f6b08213 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ allprojects { } - project.version = "1.0.0-beta08-SNAPSHOT" + project.version = "1.0.0-beta09-SNAPSHOT" } @@ -38,7 +38,7 @@ subprojects { targetVersion = 29 codeVersion = 1 - hyperwalletCoreVersion = '1.0.0-beta08-SNAPSHOT' + hyperwalletCoreVersion = '1.0.0-beta09-SNAPSHOT' hyperwalletInsightVersion = '1.0.0-beta02' // androidMaterialVersion = '1.0.0'