It connects directly, via bluetooth. Though, on Samsung devices, the button mapping used to be wrong. I believe they have fixed that, but I haven't tried it in quite a while.
I think they can get the controller to work but I highly doubt they are getting all the haptics in the dual sense to work when not connected directly to the ps5.