The Apple dongle is very good and very cheap. YMMV on Android - it should be fine but I recall seeing some complaints a while back. Don’t remember what the issue was.
You can see its DAC measurements here: https://www.audiosciencereview.com/forum/index.php?threads/review-apple-vs-google-usb-c-headphone-adapters.5541/
It’s often recommended as an entry-level DAC for audiophiles who want to focus their budget on amps and speakers when starting out. It’s transparent and there’s no need for any reasonable human to ever replace it, as far as sound quality goes. Build quality and connections are its limitations.
My PC has an Aorus Master x570 MOBO with “high end” (above average) onboard sound, and the $9 plug-and-play Apple dongle was a noticeable improvement. Almost every external DAC will beat onboard PC sound, but this thing is silly. It’s worth a try - return it if there’s any compatibility issue, or keep it handy for other uses, but I imagine any bugs are resolved at this point.