3 ms·
I think you've hit on an opt-in usage case. Much like the opt-in feature "Will you allow [website] to access your location?", there could be a "Will you allow
by Malic 7y ago
I think you've hit on an opt-in usage case.
Much like the opt-in feature "Will you allow [website] to access your location?", there could be a "Will you allow [website] to operate in the background?" I think that is something that the community could get behind.
- AgentME 7y agoInstead of a permission prompt, Safari could make it so sites that use the Media Session API (https://developers.google.com/web/updates/2017/02/media-session https://developers.google.com/web/updates/2017/02/media-sess...) get to run code in the background if they have a media control visible in an active notification. (If the user doesn't want the site to run in the background, then the user could swipe away the media controller notification.)
- saagarjha 7y agoI wonder if Apple is reluctant to do something like these because a website will use it to stay in the background (as the Facebook app did a while back) but in this case there is no App Store Review to force websites to behave.