I am trying to make an app which allows only single account per device. Now what I am trying to know is a property of a phone which never changes. At first I thought I could save MAC address of a device in my database but I read in one of the question on SO that know in android when we try to access MAC address programatically we get a constant that is same for every device. I would like to know what never changing property of an android device can I access programatically.
Also in future I would like to develop that app for iOS, is there same non changing property of iOS phone that I can access programatically ? Thank you.