deepidsdk_flutter 1.0.3 copy "deepidsdk_flutter: ^1.0.3" to clipboard
deepidsdk_flutter: ^1.0.3 copied to clipboard

Flutter plugin for the DeepID SDK (Android + iOS). Provides SIM binding, device enrollment, and fraud detection capabilities.

1.0.3 #

  • iOS: refreshed DeepIdSDK.xcframework with an updated device-identifier source for the enrollment and SIM binding callbacks. The deepId field name, type, and shape are unchanged — existing integrations require no code changes, though the returned identifier value may differ after re-enrollment.
  • iOS: internal native plugin-bridge updates to match the refreshed binary.
  • No public Dart API changes.

1.0.2 #

  • iOS: added ShieldPtr.xcframework as a required vendored framework alongside DeepIdSDK.xcframework. Both must be placed under ios/Frameworks/ before running pod install.
  • Documentation: updated Prerequisites, "Verify before continuing", iOS setup, and Troubleshooting sections to reflect the second xcframework requirement.

1.0.1 #

  • Documentation: clarified that native SDK binaries must be placed inside the pub cache directory (~/.pub-cache/hosted/pub.dev/deepidsdk_flutter-<version>/), not a local plugin checkout.
  • Documentation: corrected enrollmentTimeout default from 30 s to 150 s in the API reference and error-handling sections.
  • Documentation: corrected iOS mobile field description — server value is returned first, phoneNumber parameter is the fallback.
  • Documentation: renamed Android binary from deepidsdk-release.aar to deepidsdk.aar throughout.

1.0.0 #

Initial release of deepidsdk_flutter.

Features #

  • DeepId.initialize(appKey:, appSecret:, onEnrollment:, onEnrollmentError:, enrollmentTimeout:) — initializes the native SDK and kicks off background device enrollment. Returns once the SDK is constructed (does not wait for enrollment to complete). Pass onEnrollment here or call DeepId.onEnrollment() separately to be notified when deepId + sessionId are ready.
  • DeepId.onEnrollment(onSuccess:, onError:, timeout:) — callback-driven enrollment listener. Fires exactly once when both identifiers are available, or delivers a DeepIdException on timeout or failure.
  • DeepId.startSimBinding({phoneNumber}) — presents the native SIM binding sheet (Android: Jetpack Compose Activity; iOS: SwiftUI page sheet). Awaits user confirmation and carrier verification, then returns a SimBindingResult.
  • DeepId.isInitialized — async getter; true after a successful initialize() call.
  • DeepId.deepId / DeepId.sessionId — synchronous accessors populated after the enrollment callback fires.

Types #

  • EnrollmentResult — carries deepId and sessionId from a completed enrollment.
  • SimBindingResult — carries success, deepId, sessionId, mobile, and message from a completed SIM binding flow.
  • DeepIdException — typed exception with a DeepIdErrorCode and a human-readable message. Thrown by initialize() and startSimBinding(), and passed to onEnrollmentError.
  • DeepIdErrorCode — exhaustive enum covering all failure modes: notInitialized, invalidAppKey, invalidAppSecret, initFailed, enrollmentTimeout, enrollmentNotComplete, simBindingFailed, userCancelled, and more.

Platform support #

Platform Minimum version
Android API 21 (Android 5.0)
iOS 13.0

Notes #

  • The native SDK binaries (Android AAR and iOS xcframework) are distributed separately by DeepID and are not bundled in this package. See the README.md Prerequisites section for placement instructions.
  • On Android, READ_PHONE_STATE and SEND_SMS are dangerous permissions that must be granted at runtime before calling startSimBinding().
  • On iOS, add NSMotionUsageDescription to your Info.plist before submitting to the App Store.
0
likes
0
points
136
downloads

Publisher

verified publishersurepass.io

Weekly Downloads

Flutter plugin for the DeepID SDK (Android + iOS). Provides SIM binding, device enrollment, and fraud detection capabilities.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on deepidsdk_flutter

Packages that implement deepidsdk_flutter