-1

I am developing iOS and android application. I want to prevent the user from logging in into the app from the different devices which may have different sim card into the devices.

For Example, If user has device A and he logged in into the app, then he cannot get log in into the app from other devices called as device B which has different sim card. Also, please note that if the user has a same mobile number on different devices, then he is an authorize user and can log in into the app.

So, Can i put restriction based on user's sim card details? or else what can i do to prevent the users from getting an unauthorized log in into the app?

Any help will be appreciated. Thanks in advance.

Nirmit Dagly
  • 1,272
  • 1
  • 12
  • 25

1 Answers1

0

You can use IMEI number of devices. By using IMEI number you can restrict them. Hope it helps. Thank you!!

androidGenX
  • 1,108
  • 3
  • 18
  • 44
  • is there any chances to get app rejected from app store or play store if i am using IMEI number? – Nirmit Dagly Jul 20 '14 at 14:31
  • In android it won't. I am not sure about app store. You can use this link for getting IMEI in android "http://stackoverflow.com/questions/1972381/how-to-programmatically-get-the-devices-imei-esn-in-android" . Hope it helps you. Thank you buddy – androidGenX Jul 20 '14 at 15:00
  • You cannot access the IMEI or any other unique tracking ID for the device on iOS – Paulw11 Jul 20 '14 at 19:56