From 07c7ba7970b326906420d89aba0b8812af824ebe Mon Sep 17 00:00:00 2001 From: 0xturboblitz Date: Thu, 19 Sep 2024 13:19:24 -0700 Subject: [PATCH] bump jmrtd --- app/android/app/build.gradle | 1 + app/android/gradle.properties | 2 ++ app/android/react-native-passport-reader/android/build.gradle | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle index a893de70..a4bd2031 100644 --- a/app/android/app/build.gradle +++ b/app/android/app/build.gradle @@ -128,6 +128,7 @@ android { packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' + exclude 'META-INF/versions/9/OSGI-INF/MANIFEST.MF' } } diff --git a/app/android/gradle.properties b/app/android/gradle.properties index 4ba83f31..dd7fa1be 100644 --- a/app/android/gradle.properties +++ b/app/android/gradle.properties @@ -43,3 +43,5 @@ newArchEnabled=false # Use this property to enable or disable the Hermes JS engine. # If set to false, you will be using JSC instead. hermesEnabled=true + +android.jetifier.ignorelist=bcprov-jdk18on \ No newline at end of file diff --git a/app/android/react-native-passport-reader/android/build.gradle b/app/android/react-native-passport-reader/android/build.gradle index 3ee9c332..8f0625a3 100644 --- a/app/android/react-native-passport-reader/android/build.gradle +++ b/app/android/react-native-passport-reader/android/build.gradle @@ -34,11 +34,11 @@ dependencies { implementation 'com.google.android.material:material:1.7.0' implementation 'androidx.core:core-ktx:1.9.0' implementation 'com.wdullaer:materialdatetimepicker:3.5.2' - implementation 'org.jmrtd:jmrtd:0.7.40' // getting different errors whether it's 18 or 40 // 23 <== this works + implementation 'org.jmrtd:jmrtd:0.7.42' // getting different errors whether it's 18 or 40 // 23 <== this works // implementation files('../../../../../jmrtd-0.7.18-sources/target/jmrtd-0.7.18.jar') // implementation files('../../app/libs/jmrtd-0.7.18.jar') implementation 'net.sf.scuba:scuba-sc-android:0.0.18' - implementation 'com.madgag.spongycastle:prov:1.54.0.0' + // implementation 'com.madgag.spongycastle:prov:1.54.0.0' implementation 'com.gemalto.jp2:jp2-android:1.0.3' implementation 'com.github.mhshams:jnbis:1.1.0' // implementation 'org.bouncycastle:bcpkix-jdk15on:1.65' // do not update