- Home /
Question by
JulesPomme · Jul 05, 2018 at 01:44 PM ·
androidandroid-manifestdeviceuniqueidentifier
SystemInfo.deviceUniqueIdentifie sometimes returns 000000000000 on Android
Hi there,
I have an android game that collects the phone ID with SystemInfo.deviceUniqueIdentifier. Most of the time, it gives me the WiFi MAC address, which is what I expect. But sometimes, it gives me 000000000000. When it happens, I noticed it is on recent android versions only (>= 7.0 for what I've tested so far).
I've found some indications on the internet, about overriding the AndroidManifest.xml, and adding an ACCESS_FINE_LOCATION parameter, but it doesn't solve my problem.
Any ideas ? Thanks !
Comment