Is there a way to detect, whether an app has been installed through the "Internal test", "Alpha", "Beta" or "Production" channel of the play store?
Setting a marker or a build config field in the apk at compile time is not the solution, as an apk can be propagated from a channel to another (like Beta->Production)
So some kind of runtime detection would be needed. Also of interest is the information whether it was installed through play store at all (and not from another source).
Any guidance/hints where to start with this would be great! Thank you.