crossmint_device_signer 0.2.1
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
CrossmintDeviceSignerdependency 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
CrossmintDeviceSignernative 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
hasKeydiscovery 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.
signMessagewas returning ECDSAr/sas hex strings (Android viaBigInteger.toString(16)+0xprefix; iOS via aData.hexPrefixed()extension). The Crossmint wallets API parses those fields as non-negative decimal BigInt strings and rejects hex with HTTP 400. Android now usesBigInteger.toString()(radix 10, no prefix); iOS uses a newData.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 incrossmint_flutter@0.1.1; the plugin's message handling was already correct (Base64.decodeon Android,decodeBase64on 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