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.
source share