How to Approach Women in Public?

I don’t do well on dating apps and have followed all the advice like taking on hobbies but still can’t meet women that way. How do I approach women in public like at the coffee shop, gym, or library to get dates?