31 Commits

Author SHA1 Message Date
Andrea Franz
d045041604
add log on connect 2021-01-13 15:54:53 +01:00
Michele Balistreri
40a2dd360a
add haptic feedback on connection 2021-01-13 17:19:11 +03:00
Michele Balistreri
4024884b70
emit keyCardOnDisconnected on NFCError 2021-01-13 12:42:24 +03:00
Michele Balistreri
9c09588b8b
better error checking on verifyPIN 2021-01-12 11:28:15 +03:00
Michele Balistreri
8fd1534891
fix verify pin 2020-12-21 16:08:16 +03:00
Michele Balistreri
e520e4b8c2
fix change pin 2020-12-21 15:39:08 +03:00
Michele Balistreri
58e3031310
shorten pairing password 2020-12-18 15:46:23 +03:00
Michele Balistreri
2c639d61a2 add the ability to set a custom message 2020-12-15 13:51:07 +03:00
Michele Balistreri
b6498e3a7d handle 0x prefix for hex strings 2020-12-11 14:28:31 +03:00
Bitgamma
805aaf956c
Update SmartCard.swift
fixed PUK generation
2020-12-11 12:12:46 +03:00
Bitgamma
44b75fddd2
Update SmartCard.swift
fix typos
2020-12-11 09:11:44 +03:00
Michele Balistreri
6c36a08ddb added error argument to stopNFC, fixed bug 2020-12-10 16:58:10 +03:00
Michele Balistreri
b3ea0b5bf3 send actual error message 2020-12-10 15:21:15 +03:00
Michele Balistreri
9df9f47df5 fix typo 2020-12-10 14:36:55 +03:00
Michele Balistreri
e6292fa3ea check if pairing is empty 2020-12-10 14:32:19 +03:00
Michele Balistreri
cd93a1fb11 fixed log, success message 2020-12-10 13:55:57 +03:00
Andrea Franz
26e01dd0f0 register NFC events 2020-12-08 13:16:33 +01:00
Andrea Franz
9d1c14e1ff use global thread for keycard interactions 2020-12-08 11:20:31 +01:00
Michele Balistreri
0755278f1f add startNFC/stopNFC 2020-12-04 09:21:08 +03:00
Michele Balistreri
ae19c52317 implement all methods 2020-12-03 14:50:45 +03:00
Michele Balistreri
bd2b0ed50e add utility methods 2020-12-03 12:09:57 +03:00
Michele Balistreri
6f10bf1dd5 add all method declarations 2020-12-03 10:30:11 +03:00
Michele Balistreri
6da5774757 small refactor to reduce the #available checks needed 2020-12-03 08:32:00 +03:00
Andrea Franz
b3d56547fb add nfcIsEnabled definition 2020-12-02 19:21:21 +01:00
Michele Balistreri
70b9633252 implement initialization and pairing 2020-12-02 17:14:12 +03:00
Michele Balistreri
89bb22046c separate implementation from boilerplate/bridging code 2020-12-02 16:24:27 +03:00
Andrea Franz
f322b67096 add signPinless method 2020-12-01 21:51:39 +01:00
Michele Balistreri
3f1e320b7a rename module, restore export 2020-12-01 14:55:31 +03:00
Andrea Franz
5350c30a25 add base keycard methods 2020-11-25 10:24:35 +01:00
Andrea Franz
8d80f25a2e add Keycard.swift dependency 2020-11-24 12:39:55 +01:00
Andrea Franz
98cf9d82ac add base ios files 2020-11-24 12:29:25 +01:00