Skip to content

Commit

Permalink
[Version Change] Release examples using SDK v2.2.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePan committed Nov 5, 2018
1 parent 751abf0 commit 943d482
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 27 deletions.
2 changes: 1 addition & 1 deletion DirectPayExample/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions DirectPayExample/app/build.gradle
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "25.0.1"
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId 'tech.cherri.directpayexample'
minSdkVersion 15
targetSdkVersion 24
versionCode 11
versionName "2.2.4.6"
targetSdkVersion 26
versionCode 12
versionName "2.2.4.7"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -27,6 +27,6 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.1.0'
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
}
Binary file modified DirectPayExample/app/libs/tpdirect.aar
Binary file not shown.
3 changes: 3 additions & 0 deletions DirectPayExample/build.gradle
Expand Up @@ -14,6 +14,9 @@ buildscript {

allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
flatDir {
dirs 'libs'
Expand Down
12 changes: 6 additions & 6 deletions GooglePayExample/app/build.gradle
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "25.0.1"
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId 'tech.cherri.googlepayexample'
minSdkVersion 15
targetSdkVersion 24
versionCode 11
versionName "2.2.4.6"
targetSdkVersion 26
versionCode 12
versionName "2.2.4.7"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -27,7 +27,7 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-wallet:16.0.0'
}
Binary file modified GooglePayExample/app/libs/tpdirect.aar
Binary file not shown.
Expand Up @@ -45,6 +45,8 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
, TPDCard.CardType.MasterCard
, TPDCard.CardType.JCB
, TPDCard.CardType.AmericanExpress};
private TPDCard.AuthMethod[] allowedAuthMethods = new TPDCard.AuthMethod[]{TPDCard.AuthMethod.PanOnly,
TPDCard.AuthMethod.Cryptogram3DS};
private static final int REQUEST_READ_PHONE_STATE = 101;
private static final int LOAD_PAYMENT_DATA_REQUEST_CODE = 102;
private TPDGooglePay tpdGooglePay;
Expand Down Expand Up @@ -121,6 +123,7 @@ public void prepareGooglePay () {
TPDMerchant tpdMerchant = new TPDMerchant();
tpdMerchant.setSupportedNetworks(allowedNetworks);
tpdMerchant.setMerchantName(getString(R.string.test_merchant_name));
tpdMerchant.setSupportedAuthMethods(allowedAuthMethods);

TPDConsumer tpdConsumer = new TPDConsumer();
tpdConsumer.setPhoneNumberRequired(false);
Expand Down
2 changes: 1 addition & 1 deletion GooglePayExample/build.gradle
Expand Up @@ -14,10 +14,10 @@ buildscript {

allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
jcenter()
flatDir {
dirs 'libs'
}
Expand Down
12 changes: 6 additions & 6 deletions LinePayExample/app/build.gradle
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "25.0.1"
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId 'tech.cherri.linepayexample'
minSdkVersion 15
targetSdkVersion 24
versionCode 11
versionName "2.2.4.6"
targetSdkVersion 26
versionCode 12
versionName "2.2.4.7"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -27,6 +27,6 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.1.0'
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
}
Binary file modified LinePayExample/app/libs/tpdirect.aar
Binary file not shown.
3 changes: 3 additions & 0 deletions LinePayExample/build.gradle
Expand Up @@ -14,6 +14,9 @@ buildscript {

allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
flatDir {
dirs 'libs'
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -90,6 +90,7 @@ TapPay Android SDK is used to get token(i.e. prime) on Android platform for char
```
TPDMerchant tpdMerchant = new TPDMerchant();
tpdMerchant.setSupportedNetworks(allowedNetworks);
tpdMerchant.setSupportedAuthMethods(allowedAuthMethods);
tpdMerchant.setMerchantName("Your merchant name");
```
- TPDConsumer for requiring consumer's payment detail.
Expand Down
2 changes: 1 addition & 1 deletion SamsungPayExample/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions SamsungPayExample/app/build.gradle
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "25.0.1"
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "tech.cherri.samsungpayexample"
minSdkVersion 15
targetSdkVersion 24
versionCode 11
versionName "2.2.4.6"
targetSdkVersion 26
versionCode 12
versionName "2.2.4.7"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -25,6 +25,6 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.1.0'
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
}
Binary file modified SamsungPayExample/app/libs/tpdirect.aar
Binary file not shown.
3 changes: 3 additions & 0 deletions SamsungPayExample/build.gradle
Expand Up @@ -14,6 +14,9 @@ buildscript {

allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
flatDir {
dirs 'libs'
Expand Down

0 comments on commit 943d482

Please sign in to comment.