flutter_checkin_sdk 1.1.0
flutter_checkin_sdk: ^1.1.0 copied to clipboard
Production plugin wrapping the Checkin.com (GetID) native SDK for Android and iOS.
1.1.0 #
Optional Results API (package:flutter_checkin_sdk/checkin_results.dart) #
- Add optional [CheckinResultsClient] that fetches verification outcomes with the dashboard external API key (
X-API-Key), separate from the native GetID scan SDK key. GET {apiUrl}/api/v1/application/{applicationIdOrExternalId}— parses OCR fields, overall status, face-match score, and pre-signed document/selfie/extracted image URIs into [CheckinVerificationResult].- Models: [CheckinVerificationResult], [CheckinMediaFile], [CheckinOverallResult], [CheckinResultComment], [CheckinExtractedField] (matching the Results API shape used by host apps).
- Creating [CheckinResultsClient] without a non-empty
apiKey/apiUrlthrows [InvalidConfiguration] (MISSING_API_KEY/MISSING_API_URL). - Existing
FlutterCheckinSdknative scan flow is unchanged when Results API types are unused. - Dependency:
http(^1.2.2).
1.0.0 #
Major release: iOS native integration rewrite, Android release/R8 fix, and host-app install requirements.
Breaking / host-app required changes (iOS) #
- CocoaPods: GetID is no longer declared with an inline CDN
:podspecURL inside this plugin’s podspec. The host appios/Podfilemust declare:pod 'GetID', :podspec => 'https://cdn.getid.cloud/sdk/ios/4.1.3/GetID.podspec'beforeflutter_install_all_ios_pods. - Linkage: plugin podspec sets
s.static_framework = true(GetID → RecaptchaEnterprise static binaries). Host apps should useuse_frameworks! :linkage => :static(or equivalent static-framework handling). - Deployment target: plugin package targets iOS 13.0+; GetID native SDK requires the app deployment target 16.0+.
- Source layout: removed
ios/Classes/FlutterCheckinSdkPlugin.swiftandios/Resources/PrivacyInfo.xcprivacy. Sources now live under Swift Package layout:ios/flutter_checkin_sdk/Package.swiftios/flutter_checkin_sdk/Sources/flutter_checkin_sdk/FlutterCheckinSdkPlugin.swiftios/flutter_checkin_sdk/Sources/flutter_checkin_sdk/PrivacyInfo.xcprivacy
- Podspec
source_files: nowflutter_checkin_sdk/Sources/flutter_checkin_sdk/**/*.swift. - Privacy manifest: shipped via CocoaPods
resource_bundles(flutter_checkin_sdk_privacy) and SPMresources: [.process("PrivacyInfo.xcprivacy")].
iOS native API / bridge #
- Rewrote
FlutterCheckinSdkPluginfor current GetID 4.1.3 Swift API:- Auth:
GetIDAuth(.sdkKey(_:customerId:)/.jwt(_:)) instead of olderAuthoverloads. - Profile:
GetIDProfileData. - Metadata:
GetIDMetadata(externalId:labels:). - Documents:
GetIDAcceptableDocuments/GetIDDocumentType(passport, idCard, residencePermit, drivingLicence, voterCard, taxCard, addressCard, domesticPassport, studentCard, plusrawValuefallback).
- Auth:
- Single
GetIDSDK.startVerificationFlow(...)call with optional profile/metadata/documents instead of combinatorial overload branches. - Stream handler methods return
FlutterError?(onListen/onCancel). - Delegate start callback uses
verificationFlowStart(). - SDK key auth passes optional
customerIdfrom metadata when present. - Swift Package Manager:
Package.swiftresolves GetID from vvorld/getid-ios-sdk (from: "4.1.3").
Android #
- Added
android/consumer-rules.prokeep rules for GetID (com.sdk.getidlib.**,ee.getid.**), Gson, Retrofit, Moshi, OkHttp, and plugin bridge classes. - Wired rules via
consumerProguardFiles "consumer-rules.pro"inandroid/build.gradleso minify/R8 full-mode host apps pick them up automatically. - Fixes release-only crash:
java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType(R8 stripping genericSignatureattributes). - Lint:
checkReleaseBuilds false,abortOnError false, disableNullSafeMutableLiveData.
Example app #
- Added
example/ios/Podfilewith GetID CDN podspec, static frameworks, iOS 16.0 platform,COPYFILE_DISABLE, podCODE_SIGNING_ALLOWED=NO, and GetID/Recaptcha xattr strip + ad-hoc re-sign for Simulator codesign issues. - Raised example
IPHONEOS_DEPLOYMENT_TARGETfrom13.0to16.0.
Docs / packaging #
- README: iOS SPM + CocoaPods install steps, static linkage, deployment-target note, R8/ProGuard section, troubleshooting for init and release
ParameterizedType/ Simulator codesign. - Root
.gitignore: ignore SwiftPM.build/and.swiftpm/. - Version bumped to 1.0.0.
0.1.4 #
- Register the default method channel via
FlutterCheckinSdkfactory constructor and early platform bootstrap before repository access. - Add debug-only diagnostic logging (
loggerpackage) for initialize, startVerification, and verification events.
0.1.3 #
- Update GetID SDK to 4.1.3 for Android and 4.1.2 for iOS.
- Ensure Dart SDK 3.0 compatibility by updating
pubspec.yamlandanalysis_options.yaml.
0.1.2 #
- Fix Android build issues with
bcprov-jdk18onby disabling Jetifier ingradle.properties. - Fix ParseException when using
startVerificationwithGetIDConfigon Android.
0.1.0 #
- Initial release wrapping Checkin.com GetID native SDK for Android and iOS.
- Exposes
startVerification, event stream, typed models, and exceptions. - Includes Riverpod example app.