Closed jonathanlloyd closed 4 years ago
We weren't awaiting custom service workers when one was provided. This meant that the SDK would return bad state whilst the service worker was registering.
This PR awaits the provided sw in _init so that other methods will block until it is ready
We weren't awaiting custom service workers when one was provided. This meant that the SDK would return bad state whilst the service worker was registering.
This PR awaits the provided sw in _init so that other methods will block until it is ready