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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -