diff --git a/CHANGELOG.md b/CHANGELOG.md index fa95138..1fafd15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Release Notes +## 10.1.6 + +* Fixed badly formatted json responses +* Normalize the responses between android and iOS +* Fixed broken EnhancedDocV Flow on iOS +* Bump iOS to 10.2.4 (https://github.com/smileidentity/ios/releases/tag/v10.2.4) +* Bump Android to 10.2.3 (https://github.com/smileidentity/android/releases/tag/v10.2.3) + ## 10.1.5 * Fix navigation issue on iOS Flutter app diff --git a/android/src/main/kotlin/com/smileidentity/flutter/Mapper.kt b/android/src/main/kotlin/com/smileidentity/flutter/Mapper.kt index 2783693..a71d922 100644 --- a/android/src/main/kotlin/com/smileidentity/flutter/Mapper.kt +++ b/android/src/main/kotlin/com/smileidentity/flutter/Mapper.kt @@ -318,6 +318,9 @@ fun ActionResult.toResponse() = ActionResult.NotVerified -> FlutterActionResult.NOTVERIFIED ActionResult.NotDone -> FlutterActionResult.NOTDONE ActionResult.IssuerUnavailable -> FlutterActionResult.ISSUERUNAVAILABLE + ActionResult.IdAuthorityPhotoNotAvailable -> + FlutterActionResult.IDAUTHORITYPHOTONOTAVAILABLE + ActionResult.SentToHumanReview -> FlutterActionResult.SENTTOHUMANREVIEW ActionResult.Unknown -> FlutterActionResult.UNKNOWN } diff --git a/android/src/main/kotlin/com/smileidentity/flutter/generated/SmileIDMessages.g.kt b/android/src/main/kotlin/com/smileidentity/flutter/generated/SmileIDMessages.g.kt index 20c357d..6d14cbd 100644 --- a/android/src/main/kotlin/com/smileidentity/flutter/generated/SmileIDMessages.g.kt +++ b/android/src/main/kotlin/com/smileidentity/flutter/generated/SmileIDMessages.g.kt @@ -101,7 +101,9 @@ enum class FlutterActionResult(val raw: Int) { NOTVERIFIED(12), NOTDONE(13), ISSUERUNAVAILABLE(14), - UNKNOWN(15); + IDAUTHORITYPHOTONOTAVAILABLE(15), + SENTTOHUMANREVIEW(16), + UNKNOWN(17); companion object { fun ofRaw(raw: Int): FlutterActionResult? { diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index b0c3eaa..a0abe2f 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -3,10 +3,10 @@ PODS: - integration_test (0.0.1): - Flutter - lottie-ios (4.4.3) - - smile_id (10.2.2): + - smile_id (10.2.4): - Flutter - - SmileID (= 10.2.2) - - SmileID (10.2.2): + - SmileID (= 10.2.4) + - SmileID (10.2.4): - lottie-ios (~> 4.4.2) - Zip (~> 2.1.0) - Zip (2.1.2) @@ -34,8 +34,8 @@ SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4 lottie-ios: fcb5e73e17ba4c983140b7d21095c834b3087418 - smile_id: 6d62c54b3fcf0e2fb685c33b28c868477244ac54 - SmileID: 9d95463475f933422b2ce136474813b528dbedb7 + smile_id: 96b93395620895ce5a484e26960a2977c99602f3 + SmileID: d36a5ed65e9c2ee44b5199bc97bb0f174834c326 Zip: b3fef584b147b6e582b2256a9815c897d60ddc67 PODFILE CHECKSUM: 929954fb8941cef06249e96bd1516fd2a22ed7a5 diff --git a/example/lib/main.dart b/example/lib/main.dart index 901107b..0810fba 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,4 +1,5 @@ import 'dart:async'; +import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:smile_id/smileid_messages.g.dart'; @@ -127,7 +128,9 @@ class MainContent extends StatelessWidget { documentType: "DRIVERS_LICENSE", onSuccess: (String? result) { // Your success handling logic - final snackBar = SnackBar(content: Text("Success: $result")); + Map jsonResult = json.decode(result ?? '{}'); + String formattedResult = jsonEncode(jsonResult); + final snackBar = SnackBar(content: Text("Success: $formattedResult")); ScaffoldMessenger.of(context).showSnackBar(snackBar); Navigator.of(context).pop(); }, @@ -156,7 +159,9 @@ class MainContent extends StatelessWidget { documentType: "DRIVERS_LICENSE", onSuccess: (String? result) { // Your success handling logic - final snackBar = SnackBar(content: Text("Success: $result")); + Map jsonResult = json.decode(result ?? '{}'); + String formattedResult = jsonEncode(jsonResult); + final snackBar = SnackBar(content: Text("Success: $formattedResult")); ScaffoldMessenger.of(context).showSnackBar(snackBar); Navigator.of(context).pop(); }, @@ -183,7 +188,9 @@ class MainContent extends StatelessWidget { body: SmileIDSmartSelfieEnrollment( onSuccess: (String? result) { // Your success handling logic - final snackBar = SnackBar(content: Text("Success: $result")); + Map jsonResult = json.decode(result ?? '{}'); + String formattedResult = jsonEncode(jsonResult); + final snackBar = SnackBar(content: Text("Success: $formattedResult")); ScaffoldMessenger.of(context).showSnackBar(snackBar); Navigator.of(context).pop(); }, @@ -210,7 +217,9 @@ class MainContent extends StatelessWidget { body: SmileIDSmartSelfieAuthentication( onSuccess: (String? result) { // Your success handling logic - final snackBar = SnackBar(content: Text("Success: $result")); + Map jsonResult = json.decode(result ?? '{}'); + String formattedResult = jsonEncode(jsonResult); + final snackBar = SnackBar(content: Text("Success: $formattedResult")); ScaffoldMessenger.of(context).showSnackBar(snackBar); Navigator.of(context).pop(); }, @@ -240,7 +249,9 @@ class MainContent extends StatelessWidget { idNumber: "12345678", onSuccess: (String? result) { // Your success handling logic - final snackBar = SnackBar(content: Text("Success: $result")); + Map jsonResult = json.decode(result ?? '{}'); + String formattedResult = jsonEncode(jsonResult); + final snackBar = SnackBar(content: Text("Success: $formattedResult")); ScaffoldMessenger.of(context).showSnackBar(snackBar); Navigator.of(context).pop(); }, diff --git a/example/pubspec.lock b/example/pubspec.lock index b3e45f7..9d9dbdb 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" cupertino_icons: dependency: "direct main" description: @@ -61,10 +61,10 @@ packages: dependency: transitive description: name: file - sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted - version: "6.1.4" + version: "7.0.0" flutter: dependency: "direct main" description: flutter @@ -98,14 +98,30 @@ packages: description: flutter source: sdk version: "0.0.0" - js: + leak_tracker: dependency: transitive description: - name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" lints: dependency: transitive description: @@ -118,42 +134,42 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" path: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" platform: dependency: transitive description: name: platform - sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" + sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.1.4" plugin_platform_interface: dependency: transitive description: @@ -166,10 +182,10 @@ packages: dependency: transitive description: name: process - sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted - version: "4.2.4" + version: "5.0.2" sky_engine: dependency: transitive description: flutter @@ -181,7 +197,7 @@ packages: path: ".." relative: true source: path - version: "10.1.4" + version: "10.1.6" source_span: dependency: transitive description: @@ -194,18 +210,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -234,10 +250,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" vector_math: dependency: transitive description: @@ -250,18 +266,18 @@ packages: dependency: transitive description: name: vm_service - sha256: f3743ca475e0c9ef71df4ba15eb2d7684eecd5c8ba20a462462e4e8b561b2e11 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "11.6.0" + version: "14.2.1" webdriver: dependency: transitive description: name: webdriver - sha256: "3c923e918918feeb90c4c9fdf1fe39220fa4c0e8e2c0fffaded174498ef86c49" + sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.3" sdks: - dart: ">=3.0.5 <4.0.0" - flutter: ">=3.0.0" + dart: ">=3.3.0 <4.0.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/ios/Classes/Mapper.swift b/ios/Classes/Mapper.swift index c149814..636e62d 100644 --- a/ios/Classes/Mapper.swift +++ b/ios/Classes/Mapper.swift @@ -344,6 +344,12 @@ extension ActionResult { return .notDone case .issuerUnavailable: return .issuerUnavailable + case .idAuthorityPhotoNotAvailable: + return .idAuthorityPhotoNotAvailable + case .sentToHumanReview: + return .sentToHumanReview + case .unknown: + return .unknown } } } diff --git a/ios/Classes/SmileIDBiometricKYC.swift b/ios/Classes/SmileIDBiometricKYC.swift index 720e0f3..9f22adc 100644 --- a/ios/Classes/SmileIDBiometricKYC.swift +++ b/ios/Classes/SmileIDBiometricKYC.swift @@ -54,11 +54,19 @@ class SmileIDBiometricKYC : NSObject, FlutterPlatformView, BiometricKycResultDel func didSucceed(selfieImage: URL, livenessImages: [URL], didSubmitBiometricJob: Bool) { _childViewController?.removeFromParent() - _channel.invokeMethod("onSuccess", arguments: """ - {"selfieFile": "\(selfieImage.absoluteString)", - "livenessImages": \(livenessImages.map{ $0.absoluteString }), - "didSubmitBiometricJob": \(didSubmitBiometricJob), - """) + let arguments: [String: Any] = [ + "selfieFile": selfieImage.absoluteString, + "livenessFiles": livenessImages.map { $0.absoluteString }, + "didSubmitBiometricKycJob": didSubmitBiometricJob + ] + do { + let jsonData = try JSONSerialization.data(withJSONObject: arguments, options: []) + if let jsonString = String(data: jsonData, encoding: .utf8) { + _channel.invokeMethod("onSuccess", arguments: jsonString) + } + } catch { + didError(error: error) + } } func didError(error: Error) { diff --git a/ios/Classes/SmileIDDocumentVerification.swift b/ios/Classes/SmileIDDocumentVerification.swift index 3ccae82..d88c9f6 100644 --- a/ios/Classes/SmileIDDocumentVerification.swift +++ b/ios/Classes/SmileIDDocumentVerification.swift @@ -51,12 +51,20 @@ class SmileIDDocumentVerification : NSObject, FlutterPlatformView, DocumentVerif func didSucceed(selfie: URL, documentFrontImage: URL, documentBackImage: URL?, didSubmitDocumentVerificationJob: Bool) { _childViewController?.removeFromParent() - _channel.invokeMethod("onSuccess", arguments: """ - {"selfieFile": "\(selfie.absoluteString)", - "documentFrontImage": \(documentFrontImage.absoluteString), - "documentBackImage": \(documentBackImage?.absoluteString ?? ""), - "didSubmitDocumentVerificationJob": \(didSubmitDocumentVerificationJob), - """) + let arguments: [String: Any] = [ + "selfieFile": selfie.absoluteString, + "documentFrontFile": documentFrontImage.absoluteString, + "documentBackFile": documentBackImage?.absoluteString ?? "", + "didSubmitDocumentVerificationJob": didSubmitDocumentVerificationJob + ] + do { + let jsonData = try JSONSerialization.data(withJSONObject: arguments, options: []) + if let jsonString = String(data: jsonData, encoding: .utf8) { + _channel.invokeMethod("onSuccess", arguments: jsonString) + } + } catch { + didError(error: error) + } } func didError(error: Error) { diff --git a/ios/Classes/SmileIDEnhancedDocumentVerification.swift b/ios/Classes/SmileIDEnhancedDocumentVerification.swift index 8366c29..b3a3954 100644 --- a/ios/Classes/SmileIDEnhancedDocumentVerification.swift +++ b/ios/Classes/SmileIDEnhancedDocumentVerification.swift @@ -19,7 +19,7 @@ class SmileIDEnhancedDocumentVerification : NSObject, FlutterPlatformView, Enhan ) { _view = UIView() _channel = FlutterMethodChannel( - name: "\(SmileIDDocumentVerification.VIEW_TYPE_ID)_\(viewId)", + name: "\(SmileIDEnhancedDocumentVerification.VIEW_TYPE_ID)_\(viewId)", binaryMessenger: messenger ) _childViewController = nil @@ -48,33 +48,23 @@ class SmileIDEnhancedDocumentVerification : NSObject, FlutterPlatformView, Enhan func view() -> UIView { return _view } - - func didSucceed( - selfie: URL, - documentFrontImage: URL, - documentBackImage: URL?, - jobStatusResponse: EnhancedDocumentVerificationJobStatusResponse - ) { - _childViewController?.removeFromParent() - let encoder = JSONEncoder() - let jsonData = try! encoder.encode(jobStatusResponse) - let documentBackFileJson = documentBackImage.map{ "\"\($0.absoluteString)\"" } ?? "null" - _channel.invokeMethod("onSuccess", arguments: """ - {"selfieFile": "\(selfie.absoluteString)", - "documentFrontFile": "\(documentFrontImage.absoluteString)", - "documentBackFile": \(documentBackFileJson), - "jobStatusResponse": \(String(data: jsonData, encoding: .utf8)!)} - """) - } - + func didSucceed(selfie: URL, documentFrontImage: URL, documentBackImage: URL?, didSubmitEnhancedDocVJob: Bool) { _childViewController?.removeFromParent() - _channel.invokeMethod("onSuccess", arguments: """ - {"selfieFile": "\(selfie.absoluteString)", - "documentFrontImage": \(documentFrontImage.absoluteString), - "documentBackImage": \(documentBackImage?.absoluteString ?? ""), - "didSubmitEnhancedDocVJob": \(didSubmitEnhancedDocVJob), - """) + let arguments: [String: Any] = [ + "selfieFile": selfie.absoluteString, + "documentFrontFile": documentFrontImage.absoluteString, + "documentBackFile": documentBackImage?.absoluteString ?? "", + "didSubmitEnhancedDocVJob": didSubmitEnhancedDocVJob + ] + do { + let jsonData = try JSONSerialization.data(withJSONObject: arguments, options: []) + if let jsonString = String(data: jsonData, encoding: .utf8) { + _channel.invokeMethod("onSuccess", arguments: jsonString) + } + } catch { + didError(error: error) + } } func didError(error: Error) { @@ -101,7 +91,7 @@ class SmileIDEnhancedDocumentVerification : NSObject, FlutterPlatformView, Enhan binaryMessenger: messenger ) } - + public func createArgsCodec() -> FlutterMessageCodec & NSObjectProtocol { return FlutterStandardMessageCodec.sharedInstance() } diff --git a/ios/Classes/SmileIDMessages.g.swift b/ios/Classes/SmileIDMessages.g.swift index 5ebd0f2..86cfc6a 100644 --- a/ios/Classes/SmileIDMessages.g.swift +++ b/ios/Classes/SmileIDMessages.g.swift @@ -80,7 +80,9 @@ enum FlutterActionResult: Int { case notVerified = 12 case notDone = 13 case issuerUnavailable = 14 - case unknown = 15 + case idAuthorityPhotoNotAvailable = 15 + case sentToHumanReview = 16 + case unknown = 17 } enum FlutterSmartSelfieStatus: Int { diff --git a/ios/Classes/SmileIDSmartSelfieAuthentication.swift b/ios/Classes/SmileIDSmartSelfieAuthentication.swift index fa29879..6ca0d1b 100644 --- a/ios/Classes/SmileIDSmartSelfieAuthentication.swift +++ b/ios/Classes/SmileIDSmartSelfieAuthentication.swift @@ -43,11 +43,26 @@ class SmileIDSmartSelfieAuthentication : NSObject, FlutterPlatformView, SmartSel func didSucceed(selfieImage: URL, livenessImages: [URL], apiResponse: SmartSelfieResponse?) { _childViewController?.removeFromParent() - _channel.invokeMethod("onSuccess", arguments: """ - {"selfieFile": "\(selfieImage.absoluteString)", - "livenessImages": \(livenessImages.map{ $0.absoluteString }), - "apiResponse": \(apiResponse)}, - """) + var arguments: [String: Any] = [ + "selfieFile": selfieImage.absoluteString, + "livenessFiles": livenessImages.map { $0.absoluteString } + ] + if let apiResponse = apiResponse { + let encoder = JSONEncoder() + encoder.outputFormatting = .prettyPrinted + if let jsonData = try? encoder.encode(apiResponse), + let jsonString = String(data: jsonData, encoding: .utf8) { + arguments["apiResponse"] = jsonString + } + } + do { + let jsonData = try JSONSerialization.data(withJSONObject: arguments, options: []) + if let jsonString = String(data: jsonData, encoding: .utf8) { + _channel.invokeMethod("onSuccess", arguments: jsonString) + } + } catch { + didError(error: error) + } } func didError(error: Error) { diff --git a/ios/Classes/SmileIDSmartSelfieEnrollment.swift b/ios/Classes/SmileIDSmartSelfieEnrollment.swift index 275f657..cd3803c 100644 --- a/ios/Classes/SmileIDSmartSelfieEnrollment.swift +++ b/ios/Classes/SmileIDSmartSelfieEnrollment.swift @@ -43,11 +43,26 @@ class SmileIDSmartSelfieEnrollment : NSObject, FlutterPlatformView, SmartSelfieR func didSucceed(selfieImage: URL, livenessImages: [URL], apiResponse: SmartSelfieResponse?) { _childViewController?.removeFromParent() - _channel.invokeMethod("onSuccess", arguments: """ - {"selfieFile": "\(selfieImage.absoluteString)", - "livenessImages": \(livenessImages.map{ $0.absoluteString }), - "apiResponse": \(apiResponse)}, - """) + var arguments: [String: Any] = [ + "selfieFile": selfieImage.absoluteString, + "livenessFiles": livenessImages.map { $0.absoluteString } + ] + if let apiResponse = apiResponse { + let encoder = JSONEncoder() + encoder.outputFormatting = .prettyPrinted + if let jsonData = try? encoder.encode(apiResponse), + let jsonString = String(data: jsonData, encoding: .utf8) { + arguments["apiResponse"] = jsonString + } + } + do { + let jsonData = try JSONSerialization.data(withJSONObject: arguments, options: []) + if let jsonString = String(data: jsonData, encoding: .utf8) { + _channel.invokeMethod("onSuccess", arguments: jsonString) + } + } catch { + didError(error: error) + } } func didError(error: Error) { diff --git a/ios/smile_id.podspec b/ios/smile_id.podspec index 4b52ead..a628ef0 100644 --- a/ios/smile_id.podspec +++ b/ios/smile_id.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.name = 'smile_id' # NB! Keep this version in sync with the Native iOS SDK version - s.version = '10.2.2' + s.version = '10.2.4' s.summary = 'Official Smile ID SDK for Flutter' s.description = <<-DESC A new Flutter project. @@ -15,7 +15,7 @@ A new Flutter project. s.source_files = 'Classes/**/*' s.dependency 'Flutter' # NB! Update the s.version above when changing this version - s.dependency 'SmileID', '10.2.2' + s.dependency 'SmileID', '10.2.4' s.platform = :ios, '13.0' # Flutter.framework does not contain a i386 slice. diff --git a/lib/smileid_messages.g.dart b/lib/smileid_messages.g.dart index 1395bb7..319bb0c 100644 --- a/lib/smileid_messages.g.dart +++ b/lib/smileid_messages.g.dart @@ -56,6 +56,8 @@ enum FlutterActionResult { notVerified, notDone, issuerUnavailable, + idAuthorityPhotoNotAvailable, + sentToHumanReview, unknown, } diff --git a/pigeon/messages.dart b/pigeon/messages.dart index 7a5340c..4500cd7 100644 --- a/pigeon/messages.dart +++ b/pigeon/messages.dart @@ -266,6 +266,8 @@ enum FlutterActionResult { notVerified, notDone, issuerUnavailable, + idAuthorityPhotoNotAvailable, + sentToHumanReview, unknown, // Placeholder for unsupported values } diff --git a/pubspec.yaml b/pubspec.yaml index 398467a..6aa1e93 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: smile_id description: The Official Smile ID Flutter SDK -version: 10.1.5 +version: 10.1.6 homepage: "https://usesmileid.com" environment: