Is it possible to identify the carrier / operator (ATT, Verizon, etc.) from the Android User Agent String
-
28-04-2021 - |
Question
Server Side I need to identify the carrier (ATT, Verizon, etc.).
On iPhone you can do it with the firmware number. I was thinking that Android's device + build information in the UA might do the trick.
Has anyone done this. I do not have client side access so Telephony Manager is not an option.
Solution
Unfortunately, User Agent won't do the trick.
You can get the carrier/network information for any device by using a geolocation service.
For at least one service that provides that level of detail, look at the answer to this similar question: How to determine if incoming IP address is from a mobile carrier?
You can probably find more.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow