How to get IMEI device number programmatically using xcode to talk on the phone?

I would like to get the imei device number and send it to the html phonegap page. How should we do?

In phonegap android, we will get the imei number from the java file and send it to the javascript file.

In the same way, how will we work in iOS?

+2
source share
2 answers

As mentioned in rckoenes, you cannot get IMEI. Also, you cannot get an identifier that can refer to a physical device (UDID, MAC address). However, if you need to get a unique identifier that will remain constant whenever the user uses your application, you can use the property [UIDevice identifierForVendor].

Note. You cannot use this identifier for advertising purposes, use the property instead [ASIdentifierManager advertisingIdentifier](as recommended by AdSupport).

+11
source

You cannot, Apple does not allow you to identify devices. UDIDand Mac address solutions were all banned from iOS 7.

, IMEI iOS, , .

+9

All Articles