How to reliably verify, that an entity that is contacting the backend server is really an Android app that was downloaded from the Google Play? I verify inapp purchases with Google API, it has to be something similar?
I need a way to check this from the backend, so the app has to pass in some params that can be then sent from the server to the Google API for verification. Does such thing exist?
All I found on the topic is this "guide": https://developer.android.com/google/play/licensing/server-side-verification which tells "what" to do in general terms, but not exactly "how" and tbh I wouldn't want to implement anything that can be called licensing..