Relative Content

Tag Archive for progressive-web-appsservice-workerbackground-sync

Background sync stops in PWA app when user is online in iPhone and user mobile goes in sleep mode or locked or screen turns off

I have created an PWA app in angular. In this app background syncing start on initial load in online mode. This background sync work well when the user iPhone screen is on and he switch to another app and come back. But when user get idle the iPhone goes in sleep mode or locked and the background sync stops. It resumes again when user is turn on the screen. It is happening specifically to iPhone. In android device it works fine.

Background sync stops in PWA app when user is online in iPhone when user mobile goes in sleep mode or locked or screen turns off

I have created an PWA app in angular. In this app background syncing start on initial load in online mode. This background sync work well when the user iPhone screen is on and he switch to another app and come back. But when user get idle the iPhone goes in sleep mode or locked and the background sync stops. It resumes again when user is turn on the screen. It is happening specifically to iPhone. In android device it works fine.