Type-C to 3.5mm adapters can come with or without a built-in DAC. If the phone supports analogue audio over Type-C (OnePlus, Xiaomi etc.), then it can work with either kind of adapter else it will only work if the adapter has its own DAC (Samsungs, Pixels etc.)
Get one with a built-in DAC and it should work on pretty much every phone.