Open msirringhaus opened 10 months ago
Unfortunately I don't think we can accept this until we have a solution for macOS (Firefox is going to stick with auth-rs for security keys on macOS for the foreseeable future). Should I try to find someone who can help us debug the macOS issue?
Unfortunately I don't think we can accept this until we have a solution for macOS (Firefox is going to stick with auth-rs for security keys on macOS for the foreseeable future). Should I try to find someone who can help us debug the macOS issue?
Sorry, it totally missed the question in there, and read it as a statement. Yes, it would be great if you could find somebody who knows the macOS SDK and how things work there.
Try to fix #312
This is not working for macOS, as I have no idea how to get the already plugged in devices (and if none are plugged in, an empty list) on that platform.
Upon start, we make the
Monitor
sendDevicesAdded
with an empty list, to let theDeviceSelector
know we are starting and have no device yet. Then whenever devices are removed (either by sendingNotAToken
or being physically plugged out), we check if it was the last one. If so, we send theStatusUpdate
accordingly.