flutter_passkey_service 0.0.7 copy "flutter_passkey_service: ^0.0.7" to clipboard
flutter_passkey_service: ^0.0.7 copied to clipboard

A comprehensive Flutter plugin for seamless Passkey (WebAuthn) integration on iOS, macOS, and Android. Enable passwordless authentication with biometric security.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.7 - 2026-04-22 #

Added #

  • macOS platform support: Full passkey registration and authentication on macOS 13.0+ via the native AuthenticationServices framework. Contributed by @hhanh00 in #2.
  • PRF extension support on macOS 15.0+ for deterministic symmetric key (KEK) derivation.
  • Large Blob extension support on macOS 14.0+ for on-authenticator blob storage.
  • preferImmediatelyAvailableCredentials flag exposed across all platforms for prompt behavior control.

Fixed #

  • Corrected macOS podspec platform declaration from :osx, '10.14' to :osx, '13.0' so the pod manifest aligns with the @available(macOS 13.0, *) runtime gating in the plugin Swift sources. This prevents CocoaPods from attempting to build for unsupported macOS versions.
  • Replaced placeholder metadata (http://example.com homepage, generic author) in the macOS podspec with the repository homepage and plugin author.

0.0.6 #

Fixed #

  • Replaced hardcoded username: "username" in Passkey authentication and registration responses with dynamically passed usernames for registration and empty strings for authentication across iOS and Android, conforming strictly with the WebAuthn standard and correct mapping expectations.

0.0.5 - 2026-03-21 #

Added #

  • WebAuthn Large Blob Extension: Support for storing and retrieving up to 1KB of opaque data directly on the passkey authenticator hardware across iOS 17+ and Android.
  • Comprehensive JSON parsing support and unit tests for the largeBlob WebAuthn extension.

0.0.4 - 2026-03-21 #

Added #

  • Included hints, attestationFormats, and extensions to WebAuthn creation underlying parameters for robust JSON mapping.
  • Implemented clientExtensionResults support within authentication response payloads.
  • WebAuthn PRF (Key Encryption Key) extension support across iOS 18+ and Android Credential Manager, allowing extraction of symmetric keys from deterministic PRF salts directly during authentication.
  • Added enablePrf parameter directly to createRegistrationOptions for enabling PRF evaluation during passkey registrations.
  • Added PRF KEK Extraction Example directly inside the example application's UI demonstrating symmetric key derivation.

Changed #

  • Standardized and completely overhauled README.md to remove duplicated guides, ensuring much clearer setup instructions for both iOS and Android.
  • Expanded the Dart unit test suite extensively to verify missing field defaults and string JSON edge cases natively.

Fixed #

  • Migrated explicitly nullable fields (userHandle, authenticatorAttachment, publicKey, etc.) in messages.dart to fully align natively with the permissive WebAuthn standard and prevent FIDO hardware decoder issues.

0.0.3 - 2025-09-09 #

Added #

  • Enhanced JSON integration support for server communication
  • New helper methods for creating options from server JSON responses
  • JSON serialization extension methods for debugging and logging
  • Improved developer experience with comprehensive API documentation

Enhanced #

  • Updated documentation with detailed JSON workflow examples
  • Added production-ready integration examples
  • Improved error handling documentation
  • Enhanced comprehensive guide with server integration patterns

0.0.2 - 2024-09-07 #

Added #

  • Initial release of Flutter Passkey Service
  • Cross-platform support for iOS 16.0+ and Android API 28+
  • WebAuthn compliant passkey registration and authentication
  • Type-safe API generated with Pigeon for reliable Flutter-to-native communication
  • Comprehensive error handling with PasskeyException
  • Support for biometric authentication (Touch ID, Face ID, Fingerprint)
  • Device PIN/passcode authentication support
  • Cross-device passkey synchronization via platform providers
  • Helper methods for creating registration and authentication options
  • Complete API documentation with examples

iOS Features #

  • Native iOS AuthenticationServices integration
  • Support for Touch ID, Face ID, and device passcode
  • Associated Domains capability support
  • Graceful fallback for unsupported iOS versions

Android Features #

  • Android Credential Manager API integration
  • Biometric authentication support
  • Google Play Services integration
  • Digital Asset Links configuration support

Developer Experience #

  • Professional README.md with comprehensive guides
  • Type-safe API with full IntelliSense support
  • Detailed error types and handling
  • Example application demonstrating usage
  • Unit and integration testing support

Technical Implementation #

  • Pigeon-generated type-safe communication layer
  • Shared exception handling across platforms
  • Manual JSON serialization for compatibility
  • Lazy initialization to prevent startup crashes
  • Clean separation of concerns with utility classes
2
likes
150
points
370
downloads

Documentation

API reference

Publisher

verified publishertritoone.com

Weekly Downloads

A comprehensive Flutter plugin for seamless Passkey (WebAuthn) integration on iOS, macOS, and Android. Enable passwordless authentication with biometric security.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on flutter_passkey_service

Packages that implement flutter_passkey_service