Skip to content

Commit

Permalink
Public release v1.6.7 (#183)
Browse files Browse the repository at this point in the history
* update Bouncer SDK (#132)

* Release scan lib v1.0.3 (#135)

* Firebase Test Lab Integration (#84)

* Update HTTPMethod.kt (#133)

* Fix custom fonts (#136)

* Implement ability to add collect data in collections (#138)

* Add FlatMap implementation

* Add deepMerge logic implementation

* Refactor

* Add map tests

* Add array list tests

* Update VGSRequest.kt, add VGSCollectFieldNameMappingPolicy.kt, update tests, improve deep merge logic

* Fix tests

* Implement new logic

* Fix tests

* Improve array deepMerge logic

* Update comments

* Update comments

* Add analytics

* Update visibility modifier

* Update release script (Maven) (#140)

* Update cardio distribution flow (switch to maven)

* Revert "Update cardio distribution flow (switch to maven)"

This reverts commit e94700e

* Revert "Update cardio distribution flow (switch to maven)"

Update release script, add possibility to release on maven

* Create MIGRATING.md (#139)

* Add request/response humanized logs (#146)

* Add humanized request/response logs

* Fix OkHttpClient.kt error handling

* Refactor: remove redundant functions, change package

* Version name & code rise (#148)

* Add error logs for failed requests (#149)

* Fix error response message & body

* Fix visibility modifier

* Merge release v1.6.3 into dev (#151)

* Version name & code rise

* Update docs

* Add ability to bind/unbind views as arrays (#152)

* Add ability to bind/unbind arrays of views

* Update comments

* Functionality to send expiration date components separately (#153)

* Implement ExpirationDateEditText.kt

* Fix tests

* Update comment/locale, add tests

* Revert locale change

* Update locale to US

* Add setSerializer function

* Update VGSExpDateSeparateSerializer.kt

* Update tests

* Update dependencies (#156)

* Update bouncer dependencies

* Update other dependencies

* Update gradle version

* Merge bouncer release into dev (#155)

* Version name & code rise (#147)

* Release v1.6.3 (#150)

* update Bouncer SDK (#132)

* Release scan lib v1.0.3 (#135)

* Firebase Test Lab Integration (#84)

* Update HTTPMethod.kt (#133)

* Fix custom fonts (#136)

* Implement ability to add collect data in collections (#138)

* Add FlatMap implementation

* Add deepMerge logic implementation

* Refactor

* Add map tests

* Add array list tests

* Update VGSRequest.kt, add VGSCollectFieldNameMappingPolicy.kt, update tests, improve deep merge logic

* Fix tests

* Implement new logic

* Fix tests

* Improve array deepMerge logic

* Update comments

* Update comments

* Add analytics

* Update visibility modifier

* Update release script (Maven) (#140)

* Update cardio distribution flow (switch to maven)

* Revert "Update cardio distribution flow (switch to maven)"

This reverts commit e94700e

* Revert "Update cardio distribution flow (switch to maven)"

Update release script, add possibility to release on maven

* Create MIGRATING.md (#139)

* Add request/response humanized logs (#146)

* Add humanized request/response logs

* Fix OkHttpClient.kt error handling

* Refactor: remove redundant functions, change package

* Version name & code rise (#148)

* Add error logs for failed requests (#149)

* Fix error response message & body

* Fix visibility modifier

* Version name & code rise

* Update docs

Co-authored-by: Dmytro Kos <dmitriy.kosolapenko@vgs.io>

* Update bouncer dependencies

* Version name & code rise

* Update other dependencies

* Update gradle version

Co-authored-by: Dmytro Kos <dmitriy.kosolapenko@vgs.io>

* update kotlin version (#157)

* VGS Collect SDK release v1.6.4 merge into dev (#159)

* Version name & code rise (#147)

* Release v1.6.3 (#150)

* update Bouncer SDK (#132)

* Release scan lib v1.0.3 (#135)

* Firebase Test Lab Integration (#84)

* Update HTTPMethod.kt (#133)

* Fix custom fonts (#136)

* Implement ability to add collect data in collections (#138)

* Add FlatMap implementation

* Add deepMerge logic implementation

* Refactor

* Add map tests

* Add array list tests

* Update VGSRequest.kt, add VGSCollectFieldNameMappingPolicy.kt, update tests, improve deep merge logic

* Fix tests

* Implement new logic

* Fix tests

* Improve array deepMerge logic

* Update comments

* Update comments

* Add analytics

* Update visibility modifier

* Update release script (Maven) (#140)

* Update cardio distribution flow (switch to maven)

* Revert "Update cardio distribution flow (switch to maven)"

This reverts commit e94700e

* Revert "Update cardio distribution flow (switch to maven)"

Update release script, add possibility to release on maven

* Create MIGRATING.md (#139)

* Add request/response humanized logs (#146)

* Add humanized request/response logs

* Fix OkHttpClient.kt error handling

* Refactor: remove redundant functions, change package

* Version name & code rise (#148)

* Add error logs for failed requests (#149)

* Fix error response message & body

* Fix visibility modifier

* Version name & code rise

* Update docs

Co-authored-by: Dmytro Kos <dmitriy.kosolapenko@vgs.io>

* Release/release bouncer v1.0.4 (#154)

* Update bouncer dependencies

* Version name & code rise

* Update other dependencies

* Update gradle version

* Version name & code rise

* Update docs

Co-authored-by: Dmytro Kos <dmitriy.kosolapenko@vgs.io>

* Fix box stroke colo state list (#160)

* Limit valid card brands in SDK (#161)

* Implement valid card brands

* Remove test code

* Add tests

* Added ability to set validation rules for VGSEditText (#162)

* Fix issue with overriding default validation rules (#163)

* Fix allowToOverrideDefaultValidation

* Refactor

* Create default styles for VGSCollect views. (#164)

* Add default styles

* Refactoring

* Refactoring

* Fix

* remove bintray code from repo (#167)

* Implement ability to compare fields content (#170)

* Implement ability to compare fields content

* Code format fix

* Fix ability to override card mask (#172)

* Fix attach file cache (#177)

* Fix analytics events (#178)

* Remove unused value

* Fix autofill field attribute value

* Fix BeforeSubmit event

* Add ability to set request timeout (#179)

* Add ability to set request timeout

* Fix tests

* Update dependencies (#180)

* Update dependencies & release process (#182)

* Update dependecies, remove 'kotlin-android-extensions' from card-io and bouncer

* Updat release plugin & properties

* Revert

* Revert test code

* Fix OutOfMemory exception (#181)

* Fix out of memory exception when attach files

* Remove redundant LruCache

* Make reading file bytes depends on max size specified by developer

* Remove logs

* Fix tests, revert prev logic of adding files

* Update error message

* Update error message

* Update docs

* Version name & code rise

Co-authored-by: Dmytro Kos <dmitriy.kosolapenko@vgs.io>
  • Loading branch information
DmytroDm and Dmytro Kos authored Jun 3, 2021
1 parent 1805283 commit 6af0ecc
Show file tree
Hide file tree
Showing 182 changed files with 18,996 additions and 27,083 deletions.
22 changes: 12 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ android {
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildFeatures {
viewBinding true
Expand Down Expand Up @@ -72,25 +73,26 @@ def getLocalProperty(String propName) {
}

dependencies {
implementation project(":vgscollect")
implementation project(":vgscollect-cardio")
// implementation project(":vgscollect-bouncer")

implementation platform('com.google.firebase:firebase-bom:26.3.0')
implementation 'com.google.firebase:firebase-analytics-ktx'

implementation "androidx.appcompat:appcompat:$android_support_libraries"
implementation "com.google.android.material:material:1.2.1"

implementation project(":vgscollect")
implementation project(":vgscollect-cardio")
// implementation project(":vgscollect-bouncer")
implementation 'androidx.core:core-ktx:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation "com.google.android.material:material:1.3.0"

implementation 'com.google.android.gms:play-services-auth:19.0.0'

implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
androidTestImplementation 'androidx.test:rules:1.3.0-rc03'
implementation 'androidx.multidex:multidex:2.0.1'

debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.3'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'

testImplementation 'junit:junit:4.13.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test:rules:1.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class PaymentFragment: Fragment(), VgsCollectResponseListener, OnFieldStateChang

retrieveAttributes()

vgsForm = VGSCollect(activity!!, vault_id, env)
vgsForm = VGSCollect(requireActivity(), vault_id, env)

vgsForm.addOnResponseListeners(this)
vgsForm.addOnFieldStateChangeListener(this)
Expand Down Expand Up @@ -219,13 +219,13 @@ class PaymentFragment: Fragment(), VgsCollectResponseListener, OnFieldStateChang
private fun setEnabledResponseHeader(isEnabled:Boolean) {
if(isEnabled) {
attachBtn.setTextColor(
ContextCompat.getColor(activity!!,
ContextCompat.getColor(requireActivity(),
R.color.state_active
))
} else {
responseContainerView?.text = ""
attachBtn.setTextColor(
ContextCompat.getColor(activity!!,
ContextCompat.getColor(requireActivity(),
R.color.state_unactive
))
}
Expand Down
207 changes: 0 additions & 207 deletions app/src/main/res/layout/activity_main.xml

This file was deleted.

24 changes: 15 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
buildscript {
ext.kotlin_version = '1.4.32'
ext.dokka_version = '1.4.20'
ext.kotlin_version = '1.5.10'
ext.dokka_version = '1.4.32'

repositories {
mavenCentral()
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.android.tools.build:gradle:4.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.1'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
classpath 'com.google.gms:google-services:4.3.5'
classpath 'com.google.gms:google-services:4.3.8'
}
}

ext {
mockito_version = '3.6.0'
android_support_libraries = '1.2.0'
mockito_version = '3.10.0'
android_support_libraries = '1.3.0'
}

allprojects {
repositories {
mavenCentral()
google()
jcenter()
}

plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}

Expand Down
Loading

0 comments on commit 6af0ecc

Please sign in to comment.