google play - Checking if Android app is downloaded from a store -


Depending on which user downloaded the app, I should treat this app a little differently. I clearly want to know that it was downloaded from the public store (I do not care about who store) or manually or via Google Play Beta / Alpha 'store' Was established.

So if it was manually installed, or via alpha / beta channel, it works in a way, if it was installed from a public store (i.e. this consumer version It works another way.

> Too many answers' PackageManager. Gest Installer is referred to using package name () which will return the manually installed blank (or ""), but if downloaded from alpha / beta pipeline it is certain that this can be the case?

Thanks

Yes it works. You must know the real package name of stores to compare.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -