Answer the question
In order to leave comments, you need to log in
How to send app close report to appMetrika?
Hello everyone, I have a task: in general, you need to send a report to appmetrika when the user closes the application at a certain stage, maybe someone had experience.
This is my idea how to do it: in the OnPause(){} method, call the reportEvent("This is an activity") method.
What do you think, how can I do it? maybe I'm thinking wrong
Answer the question
In order to leave comments, you need to log in
onPause - speaks for itself, this is a pause, not an application close.
you can send a report to onStop()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question