Skip to content

Commit b4f13b4

Browse files
authored
Apply 3ds changes for datatrans (Apps-1686) (#198)
1 parent b5f5db8 commit b4f13b4

File tree

64 files changed

+1492
-748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1492
-748
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ All notable changes to this project will be documented in this file.
1010
## [0.75.0]
1111
### Changed
1212
* ui: update fiserv 3D's flow. The user now has to enter additional information to add a credit card.
13-
* instead of using the CreditCardInput it is now required to use the FiservInput instead.
13+
* instead of using the `CreditCardInput` it is now required to use the `FiservInput` instead.
14+
* ui: update datatrans 3D's flow. The user now has to enter additional information to add a credit card.
15+
* the new flow can be integrated via the new `SnabbleUi.Event` `SHOW_DATATRANS_INPUT`
16+
* u can directly integrate the `DatatransFragment` as navigation target for this event
17+
1418
## [0.74.0]
1519
### Added
1620
* core: add new and update existing user agent headers

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ allprojects {
3333
repositories {
3434
google()
3535
mavenCentral()
36+
maven(url = "https://raw.githubusercontent.com/snabble/maven-repository/releases")
3637
maven(url = "https://datatrans.jfrog.io/artifactory/mobile-sdk/")
3738
maven(url = "https://jitpack.io")
3839
}

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jakewhartonProcessPhoenix = "com.jakewharton:process-phoenix:2.1.2"
8383
picasso = "com.squareup.picasso:picasso:2.8"
8484
rekisoftLazyWorker = "eu.rekisoft.android.util:LazyWorker:2.1.0"
8585
relex-circleindicator = "me.relex:circleindicator:2.1.6"
86+
snabble-phoneAuth-countryCodePicker = "io.snabble.phoneauth:countryCodePicker:3.2.2"
8687
squareup-okhttp3-loggingInterceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "com-squareup-okhttp3" }
8788
squareup-okhttp3-okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "com-squareup-okhttp3" }
8889
squareup-okhttp3-tls = { module = "com.squareup.okhttp3:okhttp-tls", version.ref = "com-squareup-okhttp3" }

kotlin-sample/src/main/res/navigation/mobile_navigation.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166

167167
<fragment
168168
android:id="@+id/navigation_fiserv_input"
169-
android:name="io.snabble.sdk.ui.payment.fiserv.FiservInputFragment"
169+
android:name="io.snabble.sdk.ui.payment.creditcard.fiserv.FiservInputFragment"
170170
android:label="" />
171171

172172
<fragment

ui/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ dependencies {
101101
implementation(libs.koltin.reflect)
102102
implementation(libs.rekisoftLazyWorker)
103103
implementation(libs.relex.circleindicator)
104-
104+
implementation(libs.snabble.phoneAuth.countryCodePicker)
105105

106106
implementation(libs.bundles.camera)
107107
implementation(libs.bundles.navigation)

ui/src/main/AndroidManifest.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@
2626
android:exported="false"
2727
android:windowSoftInputMode="adjustResize" />
2828
<activity
29-
android:name=".payment.fiserv.FiservInputActivity"
29+
android:name=".payment.creditcard.fiserv.FiservInputActivity"
30+
android:windowSoftInputMode="adjustResize"
3031
android:exported="false" />
32+
<activity
33+
android:name=".payment.creditcard.datatrans.ui.DatatransActivity"
34+
android:exported="false"
35+
android:windowSoftInputMode="adjustResize" />
3136
<activity
3237
android:name=".payment.PaymentOptionsActivity"
3338
android:exported="false" />

0 commit comments

Comments
 (0)