Running in Background to Running in Foreground

Is there a function that is called when the app moves from Background to Foreground?

I know Objective-C has a similar function; does Ionic Framework have a means to accomplish this?

Check here.

I believe the “resume” event is what you are looking for. Also if you want to wrap it in angularjs, you can use $ionicPlatform.$on(‘resume’,fn);

According to my experience, this “resume” is fired also when you build a browser version using “ionic build browser” (when you change between tabs).

Hope this help.

Thanks for the fast response! Worked great, cheers.