I'm currently developing an angularjs html5 application.
Just a quick question - is it possible to utilize pause/resume events in a mobile web application? Alternatively, you can help me by answering my question about how to check if the browser window has focus in a mobile web browser.
I came across a useful reference on how to check if the app is running in the foreground or background in Ionic/Cordova/PhoneGap.
I am unsure whether Cordova/ng-cordova can be used in a mobile web browser. Any guidance on this would be greatly appreciated. My goal is to track events such as:
- incoming phone calls
- pressing the home button.
I want to be able to track all these events in a mobile web browser environment.