And you conveniently skip the little part about “only if you had the little rubber flap closed covering the jacks and only if you put the battery back in just right”.
And my galaxy s8 has usb-c and is waterproof, so a robust waterproof connector is a solved problem, they even have moisture detection by measuring resistance between a few pins.