Is there an End Event in Ionic/Angular?


#1

Hi,

I am integrating Telerik Analytics (http://docs.telerik.com/platform/analytics/getting-started/your-application) with my Ionic app and it has a Monitor Start and Stop event that should be placed in the appropriate events when your app starts and stops.

I put the Start event into the .run event however there seems to be no “End” event when an application ends or closed - is there?

Thanks


#2

For closing the application, there is the cordova “pause” event:

See the $ionicPlatform.on() description http://ionicframework.com/docs/api/service/$ionicPlatform/
And cordova pause event: https://cordova.apache.org/docs/en/3.0.0/cordova_events_events.md.html#pause

As for ending the application, I have no clue… I don’t think there is. (I’m not sure if pause fires when the application is ended either)


#3

Thanks, that looks kind of what I need