I have seen a lot of posts which says android documentation does not support dual sim phones.
In my case I want to identify the device so that i could store its IMEI
on my server. But because phone might have dual sims, will using the code
android.telephony.TelephonyManager.getDeviceId()
will return the same IMEI each time I run it, or it may return 1st sim slots IMEI for one time and 2nd sim slot's IMEI the other time?
Because my app will check with server to give him access for running on that device. So in case the above line of code returns same sim slot's IMEI all the times, then I dont bother about phone having dual sim. Because I just want that I get the same IMEI which I saved during my apps first run on my server.
So in short I wanna know that running this code above will give me same IMEI
for all the times OR will it give me IMEI
of any sim slot randomly for different runs?
If I dont make myself clear, please let me know.