felectronic_dnie_ios 2.0.0
felectronic_dnie_ios: ^2.0.0 copied to clipboard
iOS implementation of the felectronic_dnie plugin for DNIe NFC operations including signing and certificate reading.
Changelog #
2.0.0 #
Breaking changes #
- Requires
felectronic_dnie_platform_interface2.0.0.FelectronicDnieIOSnow extends the sharedMethodChannelFelectronicDnie.
Fixed #
- 1.0.0 could not link: the j2objc runtime it needs was never shipped. The
podspec now downloads it on the first
pod installfrom the GitHub releasej2objc-jre-3.0.0, verifies it against a pinned SHA-256 before extracting anything, and reuses it afterwards.FELECTRONIC_JRE_URLpoints it at a mirror. - Apps building with Swift Package Manager, the default since Flutter 3.47,
failed: the plugin shipped a template
Package.swiftthat SPM cannot build. Without it, Flutter builds this plugin through CocoaPods automatically. stopSign()dropped the pending completions without calling them and left the NFC session running. It now fails every pending call withDnieCancelledErrorand ends the session.- The podspec declared a BSD licence; the package is MIT.
1.0.0 #
- iOS implementation of DNIe NFC operations via CoreNFC and jmulticard.
- SIGN and AUTH certificate alias selection through the full NFC chain.
- PKCS#1 local signing with SHA-512.
- Card probe via ISO 7816 historical bytes without CAN/PIN.
- Certificate details parsing via SecCertificate APIs.
- Personal data extraction from certificate subject DN.
- PIN retry count parsing from NSError descriptions.
- NFC availability check via NFCTagReaderSession.readingAvailable.