[push-api] Technique to Detect Endpoint Prior to register() (#95)

Is there a way for a developer to detect what the current push service is for that device and use it show / hide push functionality based on what push services the back end supports?

For example, if my site supports push of GCM but not anything else, it would be ideal to hide the UI on other browsers / platforms which may support push but not GCM.

At the moment that only seems possible after the user has granted permission (unless I'm missing something).

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/95

Received on Monday, 15 December 2014 12:18:18 UTC