Skip to content

Commit

Permalink
Se ajusta proyecto a SDK16 con las funcionalidades de la version V2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Quiñonez authored and Sergio Quiñonez committed Oct 3, 2018
1 parent b24ca67 commit ad1e724
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 23 deletions.
2 changes: 1 addition & 1 deletion v2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.2.0'
}

}
Expand Down
8 changes: 3 additions & 5 deletions v2/openpay-android-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ apply plugin: 'com.android.application'

android {

compileSdkVersion 27
buildToolsVersion "27.0.1"
compileSdkVersion 16
//buildToolsVersion "27.0.3"

defaultConfig {
applicationId "mx.openpay.android.example"
minSdkVersion 19
targetSdkVersion 27
}

buildTypes {
Expand All @@ -24,5 +22,5 @@ android {

dependencies {
compile project(':openpay-android')
compile 'org.slf4j:slf4j-log4j12:1.7.25'
compile 'org.slf4j:slf4j-log4j12:1.6.4'
}
3 changes: 3 additions & 0 deletions v2/openpay-android-example/lint.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<lint>
<issue id="InvalidPackage">
<ignore path="**/log4j*.jar"/>
</issue>
</lint>
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @version SVN: $Id: CheckoutFragment.java 24966 2013-12-18 16:55:23Z gjd $
* @copyright 2013 Kount, Inc. All Rights Reserved.
*/
@TargetApi (Build.VERSION_CODES.KITKAT)
@TargetApi (Build.VERSION_CODES.JELLY_BEAN)
public class DeviceIdFragment extends Fragment {

/**
Expand Down
12 changes: 6 additions & 6 deletions v2/openpay-android-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apply plugin: 'com.android.application'

android {

compileSdkVersion 27
buildToolsVersion "27.0.1"
compileSdkVersion 16
//buildToolsVersion "27.0.3"

defaultConfig {
applicationId "mx.openpay.android.test"
minSdkVersion 19
targetSdkVersion 27
minSdkVersion 16
// targetSdkVersion 26
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand All @@ -30,6 +30,6 @@ android {
dependencies {
compile project(':openpay-android')
compile 'com.android.support:support-annotations:24.0.0'
compile 'com.android.support.test:runner:0.5'
compile 'com.android.support.test:rules:0.5'
compile 'com.android.support.test:runner:1.0.2'
compile 'com.android.support.test:rules:1.0.2'
}
3 changes: 3 additions & 0 deletions v2/openpay-android-test/lint.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<lint>
<issue id="InvalidPackage">
<ignore path="**/log4j*.jar"/>
</issue>
</lint>
25 changes: 16 additions & 9 deletions v2/openpay-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'com.android.library'

android {

compileSdkVersion 27
buildToolsVersion "27.0.1"
compileSdkVersion 16
//buildToolsVersion "27.0.3"

defaultConfig {
minSdkVersion 19
targetSdkVersion 27
minSdkVersion 16
// targetSdkVersion 26
}

buildTypes {
Expand All @@ -21,10 +21,17 @@ android {

}


dependencies {
compile 'com.android.support:support-v13:27.0.2'
compile 'com.google.http-client:google-http-client:1.23.0'
compile 'com.google.http-client:google-http-client-android:1.23.0'
compile 'com.google.http-client:google-http-client-jackson2:1.23.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.9.2'
compile 'com.android.support:support-v4:24.0.0'
compile 'com.google.http-client:google-http-client:1.17.0-rc'
compile 'com.google.http-client:google-http-client-android:1.17.0-rc'
compile 'com.google.http-client:google-http-client-jackson2:1.17.0-rc'
compile 'com.fasterxml.jackson.core:jackson-core:2.1.3'
configurations {
all {
exclude module: 'httpclient'
}
}
implementation files('lib/devicecollector-sdk-2.5.jar')
}
Binary file not shown.
3 changes: 3 additions & 0 deletions v2/openpay-android/lint.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<lint>
<issue id="InvalidPackage">
<ignore path="**/log4j*.jar"/>
</issue>
</lint>
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public String setup(final Activity activity) {
webViewDF.setWebViewClient(new WebViewClient());
webViewDF.getSettings().setJavaScriptEnabled(true);
String identifierForVendorScript = String.format("var identifierForVendor = '%s';", identifierForVendor);
webViewDF.evaluateJavascript(identifierForVendorScript, null);
// webViewDF.evaluateJavascript(identifierForVendorScript, null);

// Ejecutamos OpenControl
String urlAsString = String.format("%s/oa/logo.htm?m=%s&s=%s", this.baseUrl, this.merchantId, sessionId);
Expand Down

0 comments on commit ad1e724

Please sign in to comment.