Skip to main content

crossmint_device_signer 0.2.1 copy "crossmint_device_signer: ^0.2.1" to clipboard
crossmint_device_signer: ^0.2.1 copied to clipboard

Native device-signer plugin for the Crossmint Flutter SDK — hardware-backed key generation and signing via Secure Enclave (iOS) and Android Keystore.

0.2.1 #

  • iOS: the plugin supports Swift Package Manager. Flutter uses it when Swift Package Manager is on, and CocoaPods when it is off. Both need iOS 15 or later.
  • iOS: the shared CrossmintDeviceSigner dependency moves from 0.11 to 1.3, the same version on CocoaPods and Swift Package Manager. The keychain service, key tags and access level do not change, so existing device keys still work.

0.2.0 #

  • Breaking (native): the iOS deployment target is raised from 13 to 15, and the plugin now declares a required CrossmintDeviceSigner (~> 0.11) CocoaPods dependency. The Dart public API is unchanged.
  • Native plugins consolidated: the Android (Kotlin) and iOS (Swift) implementations were rewritten to delegate to the shared CrossmintDeviceSigner native packages — the same native code the React Native SDK depends on — for cross-SDK parity.
  • Native review fixes: Android key operations run off the main thread and hasKey discovery was corrected; iOS adds keychain existence checks and a signer index namespace.
  • Example app bumped to iOS 15 for the shared pod.

0.1.1 #

  • Fixed signature encoding on both native platforms. signMessage was returning ECDSA r/s as hex strings (Android via BigInteger.toString(16) + 0x prefix; iOS via a Data.hexPrefixed() extension). The Crossmint wallets API parses those fields as non-negative decimal BigInt strings and rejects hex with HTTP 400. Android now uses BigInteger.toString() (radix 10, no prefix); iOS uses a new Data.bigEndianDecimalString() extension that performs base-256 → base-10 long multiplication (Swift has no native BigInt). Part of the end-to-end device-signer fix tracked under #23 / #31 — the software-side changes (base64 message decoding, low-S canonicalisation, matching decimal output) ship in crossmint_flutter@0.1.1; the plugin's message handling was already correct (Base64.decode on Android, decodeBase64 on iOS), so this package only needed the encoding change.

0.1.0 #

  • First public release on pub.dev

0.0.1 #

  • Initial release of the native device-signer plugin
  • Added Secure Enclave (iOS) and Android Keystore key generation and storage
  • Added message signing with hardware-backed P-256 keys
  • Added key lifecycle management: generate, map to wallet address, look up, and delete
  • Added device name lookup for signer identification
0
likes
150
points
3.98k
downloads

Documentation

API reference

Publisher

verified publishercrossmint.com

Weekly Downloads

Native device-signer plugin for the Crossmint Flutter SDK — hardware-backed key generation and signing via Secure Enclave (iOS) and Android Keystore.

Homepage
Repository (GitHub)
View/report issues

Topics

#crossmint #security

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on crossmint_device_signer

Packages that implement crossmint_device_signer