Many people have suffered with this issue over the time until they found a good dongle which actually works on ZenFone 7. I myself wasted 10$ buying this on a store here and it didn't work, so I had to go buy the ASUS one.
This is not a software issue. The phone will only accept dongles with a built-in DAC but don't expect all DACs to be compatible. Especially cheap ones.
Only the ones with inbuilt dac will work
This is not something that can be rectified or enabled through software
Oh ok, I didn't know. Thanks for lmk