Describe the bug
I have an Ionic app, in Android everything works as expected. But in iOS when app goes to background the time elapsed is not considered. For ex: If I'm tracking for 120 seconds and app goes to background at 80th second and comes back to foreground, then time tracks from 80th second only. Time elapsed in the background is not considered.
To Reproduce:
You can use iOS device with running iOS 12 or 13. And test the Description explained.
Expected behavior :
Even when app goes to background, the time elapsed should be considered.
Environment:
- Mobile or Desktop: Any iOS Mobile
- Browser: NA
- Version: iOS version 12 or above
- Angular version: Ionic 3/4
- NodeJS version: 10.17.0
- Language (TypeScript x.x, ES5, ES2015, etc.): Typescript