I have developed an android app that is currently in production, in the Google Play Store.
The problem is that sometimes the window is closed and the message that my app has stopped is displayed. It does not always happen, other times I open it and it does not give error and I have oprobado in other devices and that does not happen
Is there a way that when this happens is registered somewhere or send a post request to a server? Something like a try - catch
global