I am working with some affiliate marketing companies and I need to promote my android app through them, but for that I need to check whether installation of my app is unique or not. I need to give some amount per installation, in order to do that properly, I need to identify if installation is unique or not, if it is unique then only release money otherwise not.
WHAT I HAVE DONE : I was using ANDROID_ID to check if installation is unique or not, but I came to know it is not unique, it changes with every system upgrade/root of the device, so I will not be able to determine unique installation if someone has rooted his device and installed my app again.
I have also checked IMEI thing, but there can be cases when people may use tablets etc to install apps, in some cases there is no IMEI, please refer
I have seen this working properly with some applications such as Flipkart. Any ideas?