expo/examples

Service worker examples incomplete, do not specify the `config` object or `PUBLIC_URL`

bradjones1 opened this issue · 0 comments

Describe the bug

The documentation for the service worker example implementation does not explain the config object, referenced at

export function register(config) {

It's kinda-sorta self-explanatory but isn't utilized in the calling code at

serviceWorkerRegistration.register();

To Reproduce

n/a

Expected behavior

The config object and the required (?) PUBLIC_URL environment variable are documented.