Skip to content

Commit

Permalink
* Updated ReadMe and Changelog for Direct Tap SDK 2.6.1
Browse files Browse the repository at this point in the history
* Updated ReadMe and Changelog for Statement Tap SDK 1.3.1
  • Loading branch information
torresejay102 committed Jan 17, 2022
1 parent 53e4ab1 commit e33a441
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 17 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Direct Tap SDK for Android
***
*Version:* 2.6.0
*Version:* 2.6.1
***


Expand Down Expand Up @@ -38,11 +38,11 @@ This set of instructions assumes that the IDE being used is Android Studio
```
**NOTE: You can use any GitHub Account in filling up the credentials**

2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:direct-tap:2.6.0"** to set the SDK as a dependency for the application. This should look like:
2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:direct-tap:2.6.1"** to set the SDK as a dependency for the application. This should look like:

```gradle
dependencies {
implementation "com.brankas.tap:direct-tap:2.6.0"
implementation "com.brankas.tap:direct-tap:2.6.1"
}

3. Inside the the same dependencies configuration, insert the following lines to enable gRPC Connections which are needed by the SDK. Also, include RxJava for asynchronous listening to the results. **Do not forget to include compileOptions and kotlinOptions to use Java 8**
Expand Down Expand Up @@ -200,7 +200,7 @@ The **useRememberMe** in the **checkout** function is set to true by default. To

# Statement Tap SDK for Android
***
*Version:* 1.3.0
*Version:* 1.3.1
***


Expand Down Expand Up @@ -238,11 +238,11 @@ This set of instructions assumes that the IDE being used is Android Studio
```
**NOTE: You can use any GitHub Account in filling up the credentials**

2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:statement-tap:1.3.0"** to set the SDK as a dependency for the application. This should look like:
2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:statement-tap:1.3.1"** to set the SDK as a dependency for the application. This should look like:

```gradle
dependencies {
implementation "com.brankas.tap:statement-tap:1.3.0"
implementation "com.brankas.tap:statement-tap:1.3.1"
}


Expand Down
6 changes: 6 additions & 0 deletions direct/changelog_direct.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## 2.6.1 - 2022-01-17

### Fixed

- automatic closing of Internal WebView when success or fail URL's do not start with *https*

## 2.6.0 - 2022-01-12

### Added
Expand Down
16 changes: 8 additions & 8 deletions direct/readme_direct.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Direct Tap SDK for Android
***
*Version:* 2.6.0
*Version:* 2.6.1
***


Expand Down Expand Up @@ -38,11 +38,11 @@ This set of instructions assumes that the IDE being used is Android Studio
```
**NOTE: You can use any GitHub Account in filling up the credentials**

2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:direct-tap:2.6.0"** to set the SDK as a dependency for the application. This should look like:
2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:direct-tap:2.6.1"** to set the SDK as a dependency for the application. This should look like:

```gradle
dependencies {
implementation "com.brankas.tap:direct-tap:2.6.0"
implementation "com.brankas.tap:direct-tap:2.6.1"
}

3. Inside the the same dependencies configuration, insert the following lines to enable gRPC Connections which are needed by the SDK. Also, include RxJava for asynchronous listening to the results. **Do not forget to include compileOptions and kotlinOptions to use Java 8**
Expand Down Expand Up @@ -169,26 +169,26 @@ DirectTapSDK.INSTANCE.checkout(activity,
public void onResult(String transactionId, CoreError error) {

}
}, 1000)
}, 1000);

// Used to retrieve the result from Tap Web Application
@Override
void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data)
super.onActivityResult(requestCode, resultCode, data);

if(requestCode == 1000) {
// Transaction is successful
if(resultCode == RESULT_OK) {
// Retrieve transaction id
String transactionId = data.getStringExtra(DirectTapSDK.TRANSACTION_ID)
String transactionId = data.getStringExtra(DirectTapSDK.TRANSACTION_ID);
}

// Failed transaction
else {
// Retrieve error message
String error = data.getStringExtra(DirectTapSDK.ERROR)
String error = data.getStringExtra(DirectTapSDK.ERROR);
// Retrieve error status code
String error = data.getStringExtra(DirectTapSDK.ERROR_CODE)
String error = data.getStringExtra(DirectTapSDK.ERROR_CODE);
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions statement/changelog_statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## 1.3.1 - 2022-01-17

### Fixed

- automatic closing of Internal WebView when success or fail URL's do not start with *https*

## 1.3.0 - 2022-01-12

### Added
Expand Down
6 changes: 3 additions & 3 deletions statement/readme_statement.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Statement Tap SDK for Android
***
*Version:* 1.3.0
*Version:* 1.3.1
***


Expand Down Expand Up @@ -38,11 +38,11 @@ This set of instructions assumes that the IDE being used is Android Studio
```
**NOTE: You can use any GitHub Account in filling up the credentials**

2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:statement-tap:1.3.0"** to set the SDK as a dependency for the application. This should look like:
2. In your app build.gradle file, add this line inside the dependencies configuration: **implementation "com.brankas.tap:statement-tap:1.3.1"** to set the SDK as a dependency for the application. This should look like:

```gradle
dependencies {
implementation "com.brankas.tap:statement-tap:1.3.0"
implementation "com.brankas.tap:statement-tap:1.3.1"
}


Expand Down

0 comments on commit e33a441

Please sign in to comment.