Regardless of the user being listening or not to Connect/Disconnect events, this component should list to it from the navigator.usb connect/disconnect events.
Right now, it requires a call to a hack method IUSB.Initialize() and connect is never fired for whatever reason while disconnect sometimes is fired.
We should fix it...
Regardless of the user being listening or not to Connect/Disconnect events, this component should list to it from the
navigator.usbconnect/disconnectevents.Right now, it requires a call to a hack method
IUSB.Initialize()andconnectis never fired for whatever reason whiledisconnectsometimes is fired.We should fix it...