@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.
- package/android/build.gradle +10 -1
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/smileidentity/react/SmileIdModule.kt +1 -1
- package/ios/SmileId.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/SmileId.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/SmileId.xcodeproj/project.xcworkspace/xcuserdata/jumaallan.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/SmileId.xcodeproj/xcuserdata/jumaallan.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/package.json +1 -1
- package/react-native-smile-id.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -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
|
|
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
|
|
|
@@ -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
|
)
|
|
Binary file
|
package/ios/SmileId.xcodeproj/xcuserdata/jumaallan.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -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
|
@@ -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.
|
|
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"
|