What is the best way to determine if my application has never been installed on the device and if the user is reinstalling?

So, I want to check, when the user installs the application from the playback store, was it previously installed on his device or not? If he uninstalls the application and after several days of reinstallation, then how do I know about it?

The reason I want to get this job done is because I just want some features to be available when this is the very first installation of the application.

+5
source share
2 answers

You can save the user device identifier on the server. Therefore, when a user opens an application, you must run a ping server with a device identifier to ensure that the user has already used this application on this mobile device. If the user is installed, then you will have a device identifier on the server, otherwise you will not have a device identifier on the server, now save the device identifier on the server.

+2
source

A few months ago, I met an interview with Ryan Harter and Kaushik from the Fragmented Podcast on this subject. Ryan referred to this exact script as something he wanted from Android / GooglePlayStore but was simply not available.

The question is at around 31:49. https://spec.fm/podcasts/fragmented/38519

+1
source

Source: https://habr.com/ru/post/1257356/


All Articles