Re: [w3c/webpayments-payment-apps-api] The relationship between payment apps and service workers (#33)

My thoughts in summary (now I've caught up with the rest of the thread):

You could have:

`sw.js`

```js
self.registration.payments.register({'name': 'Foopay'});
```

**Or:**

`sw.js`

```js
self.registration.payments.register('//manifest.json');
```

`manifest.json`

```json
{'name': 'Foopay'}
```

The former can be updated whenever page or service worker code runs (eg push message). The latter is dependent on an as-yet-undefined update model for the manifest.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments-payment-apps-api/issues/33#issuecomment-245967495

Received on Friday, 9 September 2016 16:36:55 UTC