@smile_identity/react-native 11.1.1 → 11.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,7 +136,12 @@ dependencies {
136
136
  implementation "com.facebook.react:react-native:0.72"
137
137
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
138
138
  implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core"
139
- implementation "com.smileidentity:android-sdk:$smile_id_sdk_version"
139
+ implementation("com.smileidentity:android-sdk:$smile_id_sdk_version") {
140
+ exclude group: "androidx.activity", module: "activity-ktx"
141
+ exclude group: "androidx.core", module: "core"
142
+ exclude group: "androidx.core", module: "core-ktx"
143
+ exclude group: "androidx.activity", module: "activity-compose"
144
+ }
140
145
  implementation "com.google.mlkit:object-detection:17.0.2"
141
146
  implementation "com.jakewharton.timber:timber"
142
147
  implementation 'androidx.appcompat:appcompat:1.7.0'
@@ -144,6 +149,10 @@ dependencies {
144
149
  implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.7")
145
150
  implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
146
151
  implementation("androidx.compose.runtime:runtime:1.7.5")
152
+ implementation("androidx.activity:activity-ktx:1.10.1")
153
+ implementation("androidx.core:core:1.16.0")
154
+ implementation("androidx.core:core-ktx:1.16.0")
155
+ implementation("androidx.activity:activity-compose:1.10.1")
147
156
 
148
157
  testImplementation 'junit:junit:4.13.2'
149
158
 
@@ -3,5 +3,5 @@ SmileId_minSdkVersion=21
3
3
  SmileId_targetSdkVersion=36
4
4
  SmileId_compileSdkVersion=36
5
5
  SmileId_ndkversion=21.4.7075529
6
- SmileId_androidVersion=11.1.0
6
+ SmileId_androidVersion=11.1.4
7
7
  SmileId_kotlinCompilerExtensionVersion=1.5.11
@@ -184,7 +184,7 @@ class SmileIdModule internal constructor(
184
184
  request: ReadableMap,
185
185
  promise: Promise,
186
186
  ) = launch(
187
- work = { SmileID.api.prepUpload(request = request.toPrepUploadRequest()) },
187
+ work = { SmileID.api.prepUpload(headers = mapOf(), request = request.toPrepUploadRequest()) },
188
188
  clazz = PrepUploadResponse::class.java,
189
189
  promise = promise,
190
190
  )
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>SmileId.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile_identity/react-native",
3
- "version": "11.1.1",
3
+ "version": "11.1.2",
4
4
  "description": "Official wrapper for the Smile ID >v10 android and iOS SDKs",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "https://docs.usesmileid.com/.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
- s.dependency "SmileID", "11.1.1"
18
+ s.dependency "SmileID", "11.1.3"
19
19
  # for development alongside example/ios/Podfile uncomment the version and specify
20
20
  # tag or branch in example/ios/Podfile
21
21
  # s.dependency "SmileID"