Hello.
My app uses in-app purchase to make it full-version. Now, I need to make sure that full-version app cannot be given to others.
HERE is my solution: If I can get a unique identifier for that device, I'll upload it into my online database as a 'registered' device. Now, every time the app runs, I'll check if it's among the registered devices. otherwise it means it's running from another device, so I won't allow it.
The problem is, though, there doesn't seem to be a guaranteed way to get a globally unique id for the device, considering android's security protocols since android 6. You can't get the MAC address or IMEI or anything. Even Advertising IDs will change in nature in late 2021.
Can anyone help me on this? If I can't extract a unique id, is there any other way I can prevent my app from being copied and used without payment?
Thank you so much.
My app uses in-app purchase to make it full-version. Now, I need to make sure that full-version app cannot be given to others.
HERE is my solution: If I can get a unique identifier for that device, I'll upload it into my online database as a 'registered' device. Now, every time the app runs, I'll check if it's among the registered devices. otherwise it means it's running from another device, so I won't allow it.
The problem is, though, there doesn't seem to be a guaranteed way to get a globally unique id for the device, considering android's security protocols since android 6. You can't get the MAC address or IMEI or anything. Even Advertising IDs will change in nature in late 2021.
Can anyone help me on this? If I can't extract a unique id, is there any other way I can prevent my app from being copied and used without payment?
Thank you so much.