Skip to content

Commit

Permalink
Merge branch 'master' into handle_non_existing_deeplink_app
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi authored Sep 9, 2024
2 parents ece36b7 + dd8d70f commit 0d89c52
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 135 deletions.
8 changes: 1 addition & 7 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ android {
compileSdk compile_sdk_version
buildConfigField "int", "VERSION_CODE", "$omise_sdk_code_version"
buildConfigField "String", "VERSION_NAME", "\"$omise_sdk_version\""
buildConfigField "String", "NETCETERA_API_KEY", "\"${System.getenv('NETCETERA_API_KEY')}\""
buildConfigField "String", "SCHEME_NAME", "\"${System.getenv('SCHEME_NAME')}\""
buildConfigField "String", "DS_ID", "\"${System.getenv('DS_ID')}\""
buildConfigField "String", "MESSAGE_VERSION", "\"${System.getenv('MESSAGE_VERSION')}\""
buildConfigField "String", "ACS_REF_NUMBER", "\"${System.getenv('ACS_REF_NUMBER')}\""
buildConfigField "String", "DS_PUBLIC_KEY", "\"${System.getenv('DS_PUBLIC_KEY')}\""
testInstrumentationRunner "co.omise.android.OmiseTestRunner"
}

Expand Down Expand Up @@ -173,7 +167,7 @@ dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
implementation 'com.google.android.gms:play-services-wallet:19.1.0'
// Required by Netcetera, check https://3dss.netcetera.com/3dssdk/doc/2.10.0/android-error-handling error [1322]
implementation 'org.bouncycastle:bcprov-jdk15to18:1.69'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.77'

debugImplementation("androidx.fragment:fragment-testing:$fragment_testing_version") {
exclude group: 'androidx.test', module: 'core'
Expand Down
Binary file modified sdk/libs/classes.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions sdk/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@
# Keep the classes from slf4j
-keep class org.slf4j.** { *; }

# Keep kotlin.KotlinVersion if present
-keep class kotlin.KotlinVersion { *; }
-dontwarn kotlin.KotlinVersion

Binary file removed sdk/src/main/assets/support_server_prev.p12
Binary file not shown.
Binary file removed sdk/src/main/assets/support_server_prod.p12
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
92 changes: 28 additions & 64 deletions sdk/src/main/res/drawable/ds_logo_amex.xml

Large diffs are not rendered by default.

92 changes: 28 additions & 64 deletions sdk/src/main/res/drawable/ds_logo_amex_dark.xml

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions sdk/src/main/res/raw/keep.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="
@drawable/ds_logo_amex,
@drawable/ds_logo_amex_dark,
@drawable/ds_logo_diners,
@drawable/ds_logo_mastercard,
@drawable/ds_logo_mastercard_dark,
@drawable/ds_logo_visa,
@drawable/ic_password_toggle_masked,
@drawable/ic_password_toggle_visible,
@drawable/cb_bakground,
@drawable/ds_logo_cb,
@drawable/ds_logo_eftpos,
@drawable/ds_logo_jcb,
@drawable/ds_logo_union,
@values/challenge_ui_ids
" />

0 comments on commit 0d89c52

Please sign in to comment.