Does Universal clipboard works on ethernet? I have a mac mini 2018 connected to the same router/network, but using ethernet cable, and iOS device, connected to the same router/network, but using wifi.

But i can't use universal clipboard to paste text from ios to mac and vice versa. Should i connect my mac mini to the same network via wifi only in order to get it work?
I had to turn off / on handoff on ios (or restart it), then it worked. So it works even without wifi on the mac, you only need to have bluetooth on and being connected to the same router.