Background Sync in Service Worker | Background Sync Angular PWA | Progressive Web Apps Development

preview_player
Показать описание
Background sync API helps the user to sync or connect with the server whenever they will have a stable connection even if their application is closed.
Background sync can be used in messaging application and many more where the user will have some action to performs and which need to be sync with the server.

#ServiceWorkers #BackgroundSync #PWA

Thanks for watching...
Рекомендации по теме
Комментарии
Автор

Wow... I have been following your PWA videos! I really appreciate you for doing this :) Thank you

gahyunlee
Автор

Thank you for your wonderful series of PWA, but here at 4:12 'swRegistration.sync' is unavailable. TS has removed this from the language because background sync does not work everywhere, so I'm unable to continue the series. So how am I able to use sync?

timatidoon
Автор

Thank you, this was really helpful. One little thing that can be improved though, if you add the service-worker.js to your scripts in the angular.json file, it will be added to your production build automatically.

lhdevcom
Автор

it was really helpful, got clear lots of queries that i have been searching for past few days, i have a question, i need to play videos in angular pwa app offline mode and videos are in blob and are very large in size, what is the best practice to do that sir?

MuhammadHamza-xqbi
Автор

Property 'sync' does not exist on type I am not able register tag

jawadbaig
Автор

With fetch can we use interceptors functionallity ? 🤔

EzequielRegaldo
Автор

Very much informative.
Thanks a lot 😊

SudhanshuRamTripathi
Автор

Does Angular support background synchronization ? I want to cache POST in Angular, but I don’t know how to do it

ttpslingduck
Автор

Does it work on Android? If I add @capacitor and run the same code in ionic-android.

gtanmoy
Автор

broOooo U r channel will be +100k sub soon : D : )

aymannasr
Автор

What is the solution ?
Property 'sync' does not exist on type 'ServiceWorkerRegistration

csabaszabo
Автор

Thank you, but how to periodic background sync?

MortezaAminiKh
Автор

Hi, do we need any settings for apis to work in PWA? As, I implemented PWA my API's are not working

bhavnamulani
Автор

Sync syntax has been changed and showing error.

sohailhayat
Автор

Mine internet gets off and then i goillng to call api all then obj store into index DB and if I closed browser and then come back later then indexDB data goes to actual DB?

siddharthatyagi
Автор

bro I have question how to use .env variables in service workers please make a video on it if possible

bhumit
Автор

Hi subrat thanks for this wonderful video. I want to know is this possible to do background sync using vanila javascript with mysql. Actually i want to store the indexdb data into mysql using background sync.

TheMmylove
Автор

very nice video. can u please tell that what if i want that after getting data it updates every 30s because in service worker i can not use http.get with timer and how to pass veriable in api call like for city name in weather api

amaan
Автор

Do you test Background sync on Ios devices? Do i need install chrome on ios and then run Pwa?

MrNonda
Автор

Hi I am getting issue when I change the service worker

sharathsinganamala