Is service worker registered by my app active in background on ios/safari as it is on android/chrome?
If so, is it able to receive message from notification handled by phonegap-plugin-push
?
Our scenario is: run app, register SW, exit app, receive notification, fetch new data on background in SW, go offline, open app and see fetched data. Is it even possible on ios with cordova and push plugin?
Edit: I already know that we need our app to be wrapped inside cordova with phonegap-plugin-push
as on iOS push notifications are not supported for PWA. My question was whether the SW live on background same as in case of chrome/android. I suppose not, because even on chrome/android the SW is active only due to waiting for push notifications.