Test coverage: 

Test application activation reports are sent successfully back to Appoxee. Activation reports are needed for the following:


Testing procedure:




Expected result:

The following request and its respective response should be successfully reported by Charles.

The request should include the "activation" parameter and should indicate the time spent using the application, Time spent will indicate a different value when opening the application and when closing it.


Request:

Response:


Please note that in some cases the activation request migh contain "time" instead of "timeSpent" , this is a normal behaviour

Logs

Ios

 [Appoxee Debug] Application Activated
....
...
...
 [Appoxee Debug] Application DeActivated

Application activated - open the application from background or killed state

Application DeActivated - Application is "killed" or sent to background


Android


Activation/Deactivation:

Server response: {"metadata":{"error":false},"links":[],"payload":{"activation":[]}}