Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to determine that my app was never installed on a device and if user is reinstalling?

So, I want to check while user is installing the app from play store whether it was previously installed on his device or not? If he uninstalls the app and after few days reinstalls then how would I know that?

The reason I want a way to handle this case is that I just want to make certain features available when it is the very first install of the app.

like image 892
Sahil Sharma Avatar asked Sep 27 '16 21:09

Sahil Sharma


1 Answers

You can store user's device id in server. So when user opens the application you have to ping your server with the device id to verify if the user already used this application in this mobile. If User installed, then you will be having the device id on server, otherwise you wont have the device id on server, now save the device id on server.

like image 180
Sujith Niraikulathan Avatar answered Oct 29 '22 13:10

Sujith Niraikulathan