no

How to Get Imei from Android or Iphone

For android it's pretty straight forward. You just have to add read phone state permission. <uses-permission android:name="and...

For android it's pretty straight forward. You just have to add read phone state permission.

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

And call the API:
String imei = TelephonyManager.getDefault().getDeviceId();
if (TextUtils.isEmpty(imei)) {
  return "";
}

For iPhone I guess IMEI is not accessible as you could read on most articles. But perhaps you can use the device unique identifier.

UIDevice *myDevice = [UIDevice currentDevice];
NSString *deviceUDID = [myDevice uniqueIdentifier];

Related

java 3489205577878147068

Post a Comment Default Comments

Outsourcing

Are you looking for freelancers in the Philippines? Get in touch.

Donations

If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.

item