I'm trying to sync offline data with the server after a user comes back online. I'm trying to follow these steps that I have found doing research on this. This information I'm using as a guide. BTW, I'm new to this, so I'm still trying to figure out the logic flow of everything.
I'm sure there is something simple that I am missing but I have not yet run across a solution to my problem.
I have found these similar questions. The first link had no answerstwo were not helpful. The second question was of no help either. Then I found the third link here and I tried to follow how they implemented the sync, but it is still not firing.
If ya'll need more information/code, please let me know.
Just an UpdateUpdate
In the devTools I started recording background sync events. I used the "sync" button with the tag name under the "service worker" to try to trigger the sync event. Nothing happened. No indication of the sync event being fired. The only thing showing up is that the sync event has been registered.