How? When an app makes an API request, the client IP address is (necessarily) exposed to the server.
Oh, you’re right of course, I was misremembering that they won’t be able to get the ssids of nearby wifi networks. However, a vpn is a solution to the ip address problem.