{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/226","repository_url":"https://api.github.com/repos/GoogleChrome/sw-precache","labels_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/226/comments","events_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/226/events","html_url":"https://github.com/GoogleChrome/sw-precache/issues/226","id":194491087,"number":226,"title":"Support for Firebase Cloud Messaging","user":{"login":"Poeticode","id":7076524,"avatar_url":"https://avatars.githubusercontent.com/u/7076524?v=3","gravatar_id":"","url":"https://api.github.com/users/Poeticode","html_url":"https://github.com/Poeticode","followers_url":"https://api.github.com/users/Poeticode/followers","following_url":"https://api.github.com/users/Poeticode/following{/other_user}","gists_url":"https://api.github.com/users/Poeticode/gists{/gist_id}","starred_url":"https://api.github.com/users/Poeticode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poeticode/subscriptions","organizations_url":"https://api.github.com/users/Poeticode/orgs","repos_url":"https://api.github.com/users/Poeticode/repos","events_url":"https://api.github.com/users/Poeticode/events{/privacy}","received_events_url":"https://api.github.com/users/Poeticode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T01:30:12Z","updated_at":"2016-12-09T01:30:12Z","closed_at":null,"body":"I'm trying to get Firebase Cloud Messaging to use the service worker that is built by sw-precache, but it doesn't seempossible to do so if importScripts is the only option available to extend the worker. A glance at the dev tools shows that the script I'm importing that contains the Firebase initialization is running as its own service worker. Through ImportScripts, I can't seem to pass my sw-precache ServiceWorker to the messaging.useServiceWorker() function, which leaves the Firebase Messaging looking for a nonexistant firebase-messaging-sw.js file."}}
{"actor":{"display_login":"Poeticode"}}