Android - Detecting various cases of app installation

156 views Asked by At

I'm currently working on an app which will be used for marketing purpose. This app has a feature to share a link to device contacts or social media, to let other people download this app from Google Play Store. But my company has made a rule for this app:

If this app is downloaded from Google Play Store without clicking any shared link, it cannot be run (or simply, display an Alert Dialog then close the app). The only way to have this app running is to FIRSTLY click the link, then download.

So my question is, how can I make this possible? Do I have to find a way to detect clicked link? Or is there any alternatives?

1

There are 1 answers

3
Morrison Chang On BEST ANSWER

The purpose of putting in the Google Play Store is for people to find and use your app. Once they have the link to it, anyone can reach it and try to install it. However if all you want is a way to tie back to what was the driver of that install/launch then you may want to look at:

Google Play Campaign Attribution

If you want to limit your requirements on Google APIs or using a store other than Google Play, there are other vendors in this space as well which perform similar functions.