pgg_aa
Last Updated: February 25, 2016
·
387
· wannabegeekboy
380123 2865223158521 1527694351 n

Track the user not the Hardware. why ??

To detect an user, we might tract the hardware of the device and if we tract usering getDeviceId().

It fails for many reaons,
1. MAC address also bad.
2. ANDOROID_ID also not reliable and a scary user permission.

** Good Solution : **

The simple solution is to track a UNIQUE INSTALLATION, instead of trying to identify the actual
device. Create a unique identifier when the user opens the app for the first time and save it in a
shared preferences file.

Say Thanks
Respond

2 Responses
Add your response

7083
E7c183e3efddc27e1bfc07802626548b

I guess this tip is useful to other mobile platforms as well. Not necessarily to Android only, but also if you want to have a cross-platform/cross-hardware UUID.

br

over 1 year ago ·
7090
380123 2865223158521 1527694351 n

Thanks

over 1 year ago ·