Skip to content

Commit b526f29

Browse files
Final commit for 4.12.0
1 parent 682fee4 commit b526f29

File tree

20 files changed

+156
-49
lines changed

20 files changed

+156
-49
lines changed

DemoApp/Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ ruby ">= 2.6.10"
55

66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8-
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
8+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9+
gem 'xcodeproj', '< 1.26.0'

DemoApp/android/app/build.gradle

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ android {
7878
namespace "com.demoapp"
7979
defaultConfig {
8080
applicationId "com.demoapp"
81-
minSdkVersion 23
82-
targetSdkVersion 34
81+
minSdkVersion 24
82+
targetSdkVersion 35
8383
versionCode 1
8484
versionName "1.0"
8585
}
@@ -89,6 +89,23 @@ android {
8989
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
9090
}
9191
}
92+
93+
packagingOptions {
94+
resources.excludes.add("META-INF/versions/9/OSGI-INF/MANIFEST.MF")
95+
resources.excludes.add("META-INF/kotlin-project-structure-metadata.json")
96+
resources.excludes.add("META-INF/kotlinx_coroutines_core.version")
97+
resources.excludes.add("META-INF/LICENSE.md")
98+
resources.excludes.add("META-INF/LICENSE-notice.md")
99+
resources.excludes.add("commonMain/default/manifest")
100+
resources.excludes.add("commonMain/default/linkdata/module")
101+
resources.excludes.add("commonMain/default/linkdata/**/*.knm")
102+
resources.excludes.add("nativeMain/default/manifest")
103+
resources.excludes.add("nativeMain/default/linkdata/module")
104+
resources.excludes.add("nativeMain/default/linkdata/**/*.knm")
105+
resources.excludes.add("nonJvmMain/default/manifest")
106+
resources.excludes.add("nonJvmMain/default/linkdata/module")
107+
resources.excludes.add("nonJvmMain/default/linkdata/**/*.knm")
108+
}
92109
}
93110

94111
repositories {

DemoApp/android/app/src/main/java/com/demoapp/MainApplication.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import com.facebook.react.ReactPackage
99
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
1010
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
1111
import com.facebook.react.defaults.DefaultReactNativeHost
12+
import com.facebook.react.soloader.OpenSourceMergedSoMapping
1213
import com.facebook.soloader.SoLoader
1314
import com.jumio.react.JumioPackage
1415

@@ -31,7 +32,7 @@ class MainApplication : Application(), ReactApplication {
3132

3233
override fun onCreate() {
3334
super.onCreate()
34-
SoLoader.init(this, false)
35+
SoLoader.init(this, OpenSourceMergedSoMapping)
3536
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
3637
// If you opted-in for the New Architecture, we load the native entry point for this app.
3738
load()

DemoApp/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
ext {
4-
buildToolsVersion = "34.0.0"
5-
minSdkVersion = 23
6-
compileSdkVersion = 34
4+
buildToolsVersion = "35.0.0"
5+
minSdkVersion = 24
6+
compileSdkVersion = 35
77
}
88
repositories {
99
google()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Apr 19 12:48:49 EEST 2023
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

DemoApp/android/gradlew

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

DemoApp/android/gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

DemoApp/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ emitterJumio.addListener(
6262
(EventError) => console.warn("EventError: " + JSON.stringify(EventError))
6363
);
6464

65+
const initModelPreloading = () => {
66+
JumioMobileSDK.setPreloaderFinishedBlock(() => {
67+
console.log('All models are preloaded. You may start the SDK now!');
68+
});
69+
JumioMobileSDK.preloadIfNeeded()
70+
};
71+
72+
initModelPreloading();
73+
6574
export default class DemoApp extends Component {
6675
render() {
6776
return (

DemoApp/ios/DemoApp.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,9 +1169,9 @@
11691169
DEAD_CODE_STRIPPING = NO;
11701170
DEVELOPMENT_TEAM = "";
11711171
INFOPLIST_FILE = DemoApp/Info.plist;
1172-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1172+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
11731173
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1174-
MARKETING_VERSION = 4.11.0;
1174+
MARKETING_VERSION = 4.12.0;
11751175
OTHER_LDFLAGS = (
11761176
"$(inherited)",
11771177
"-ObjC",
@@ -1196,9 +1196,9 @@
11961196
CURRENT_PROJECT_VERSION = 1;
11971197
DEVELOPMENT_TEAM = "";
11981198
INFOPLIST_FILE = DemoApp/Info.plist;
1199-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1199+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
12001200
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1201-
MARKETING_VERSION = 4.11.0;
1201+
MARKETING_VERSION = 4.12.0;
12021202
OTHER_LDFLAGS = (
12031203
"$(inherited)",
12041204
"-ObjC",
@@ -1250,7 +1250,7 @@
12501250
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
12511251
GCC_WARN_UNUSED_FUNCTION = YES;
12521252
GCC_WARN_UNUSED_VARIABLE = YES;
1253-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1253+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
12541254
LD = "";
12551255
LDPLUSPLUS = "";
12561256
MTL_ENABLE_DEBUG_INFO = YES;
@@ -1300,7 +1300,7 @@
13001300
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
13011301
GCC_WARN_UNUSED_FUNCTION = YES;
13021302
GCC_WARN_UNUSED_VARIABLE = YES;
1303-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1303+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
13041304
LD = "";
13051305
LDPLUSPLUS = "";
13061306
MTL_ENABLE_DEBUG_INFO = NO;

DemoApp/ios/DemoApp/PrivacyInfo.xcprivacy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
<array>
77
<dict>
88
<key>NSPrivacyAccessedAPIType</key>
9-
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
1010
<key>NSPrivacyAccessedAPITypeReasons</key>
1111
<array>
12-
<string>CA92.1</string>
12+
<string>C617.1</string>
1313
</array>
1414
</dict>
1515
<dict>
1616
<key>NSPrivacyAccessedAPIType</key>
17-
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
17+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
1818
<key>NSPrivacyAccessedAPITypeReasons</key>
1919
<array>
20-
<string>C617.1</string>
20+
<string>CA92.1</string>
2121
</array>
2222
</dict>
2323
<dict>

0 commit comments

Comments
 (0)