Hacker News new | ask | show | jobs
by charleslmunger 4594 days ago
What's the name of the firewall app you use? It sounds like it's returning a noop string ("000000000000000" or something) from getDeviceId(), which is not what that method is allowed to return. If you actually read the docs: https://developer.android.com/reference/android/telephony/Te...

"Returns the unique device ID, for example, the IMEI for GSM and the MEID or ESN for CDMA phones. Return null if device ID is not available."

If it's returning a non unique string, it's breaking that contract, and it's the firewall app's fault, not Uber's.