Reputation: 780
I want to know whether the user have installed the apps from the links i provided in my application..
The problem is the package name, first I have to install the app to get to know the app package name, and then write the code which compares with the package name i provided.
I cant do this process for each and every new app promotion.
Is there a way to know the package name of the android apps without even installing it?
Upvotes: 0
Views: 530
Reputation: 2643
If your user installs the app from Google play store then your links should look something like this
https://play.google.com/store/apps/details?id=com.example.app
or in case of play store app prompt like this
market://details?id=com.example.app
the last part (id) should actually be the package name
Upvotes: 1
Reputation: 16068
You can check the App on the Play Store.
The package name is in the URL... For example:
https://play.google.com/store/apps/details?id=dae.dfnews
The important part is id=dae.dfnews
. dae.dfnews
is the package name.
Upvotes: 1