I don't know the technical possibilities of this attack, but the scenario as I will explain below sounds probable. So here it is.
I have a mobile app that does computation on the users phone and send the result to a database that can only be accessed once the user has logged in. The computation is important and can only be done on the phone (but I wouldn't want the user to alter it). For instance, retrieving users location, or taking a picture with users camera.
The problem I see here, however, is that if the user could some how reverse engineer the app, they could signup as a legit user, but still alter the data sent. They could be sending an image they want instead of the mobile app taking live pictures using the camera, or send the location they want instead of the one the mobile app fetched. So in-short, how do you prevent a front end application's behavior from changing or how could you tell the difference if it has changed. Is there a way in android to get an application id for applications that are only installed from play-store that I can keep track of in the back-end?
And what should I be reading or looking into if I want to learn more about such client side - server side interaction security (Is there a specific name to such attacks).