App Attest and Play Integrity answer one question: is this my genuine app on a genuine device? That's worth knowing, and you should use them. But a real, unmodified app on a real phone passes, whether that phone is on a home connection or behind a proxy in a rack of phones.
So if you're fighting fake signups, bonus farming or account takeover, you need a second question: what network is this request coming from?
Why not check on the device?
You can look for a VPN from inside the app. On Android, NetworkCapabilities.hasTransport(TRANSPORT_VPN) tells you about a VPN on the device. It's fine for showing a message, but it won't help against fraud, for two reasons:
The app is reporting on itself. A modified client can answer whatever it likes.
It can't see a proxy further upstream.
The check belongs on a server, which sees the IP the request actually came from.
What to look at
Network type. Hosting and datacenter networks are rarely a phone on a carrier or home connection.
Known exits.…