Sometimes, the best solution is patience. I know, boring. But water evaporates on its own if given time. Lay your phone on a towel with the charging port facing down. Place it in a warm, dry spot—near a sunny window, but not in direct heat. Avoid hair dryers, ovens, or microwaves. You’re not making a phone-flavored popcorn.
How To Get Water Out of Charging Port - YouTube
Usually, after 30 minutes to a few hours, the warning disappears. My personal record was a soggy phone that refused to charge for three hours—until I gave up and watched a movie. When I came back, it charged perfectly. The phone just needed a nap.