Unique Identifier for a Smartphone

7

I'm developing a system and need to capture a unique Smartphone identifier.

In this case, the person would access the site through the Smartphone and the site will capture some unique identifier of the device or even the browser. I thought of something like IMEI or the phone number, but I could not find a way to do it.

    
asked by anonymous 21.10.2015 / 21:35

1 answer

5

Browser

You can use device.uuid , click here to open the link to Universally Unique Identifier (UUID)

var string = device.uuid;

Useful JavaScript Libraries

  • fingerprintJS : "Fingerprinting is a technique, outlined in the research by Electronic Frontier Foundation, of anonymously identifying the web browser with accuracy of up to 94%.

  • Panopticlick : "If so, web sites may be able to track you, even if you limit or disable cookies. " em>

Android Application

Add the following permission on your AndroidManifest.xml:

<uses-permission android:name="android.permission.READ_PHONE_STATE"/>

To recover the IMEI from the device:

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String imei = tm.getDeviceId();

References:

Unique device identification - Stack Overflow

    
21.10.2015 / 23:53