{"action":"created","issue":{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/191","labels_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/191/comments","events_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/191/events","html_url":"https://github.com/WebBluetoothCG/web-bluetooth/issues/191","id":121304940,"number":191,"title":"Let websites scan for nearby advertisements.","user":{"login":"jyasskin","id":83420,"avatar_url":"https://avatars.githubusercontent.com/u/83420?v=3","gravatar_id":"","url":"https://api.github.com/users/jyasskin","html_url":"https://github.com/jyasskin","followers_url":"https://api.github.com/users/jyasskin/followers","following_url":"https://api.github.com/users/jyasskin/following{/other_user}","gists_url":"https://api.github.com/users/jyasskin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyasskin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyasskin/subscriptions","organizations_url":"https://api.github.com/users/jyasskin/orgs","repos_url":"https://api.github.com/users/jyasskin/repos","events_url":"https://api.github.com/users/jyasskin/events{/privacy}","received_events_url":"https://api.github.com/users/jyasskin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/labels/beacons","name":"beacons","color":"bfdadc"},{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/labels/v2","name":"v2","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T18:04:38Z","updated_at":"2015-12-14T09:15:59Z","closed_at":null,"body":"Websites should be able to register for an event when new BLE advertising data is received, even if they don't have permission to send information to that device. This reveals the user's location, so we'll need a permission grant, and we may want to let users set bounds on the area or time in which the grant applies. We need to figure out if a site with full geolocation access should automatically get access to scan for beacons.\r\n\r\nWe also need to figure out whether it's useful to constrain scanning to tabs, or whether we need to figure out ServiceWorker access from the start. From the use case of walking around a museum listening to the sound corresponding to the closest exhibit, I'm inclined to think we have to figure out full background access from the start."},"comment":{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/comments/164385486","html_url":"https://github.com/WebBluetoothCG/web-bluetooth/issues/191#issuecomment-164385486","issue_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/191","id":164385486,"user":{"login":"pzboyz","id":1962843,"avatar_url":"https://avatars.githubusercontent.com/u/1962843?v=3","gravatar_id":"","url":"https://api.github.com/users/pzboyz","html_url":"https://github.com/pzboyz","followers_url":"https://api.github.com/users/pzboyz/followers","following_url":"https://api.github.com/users/pzboyz/following{/other_user}","gists_url":"https://api.github.com/users/pzboyz/gists{/gist_id}","starred_url":"https://api.github.com/users/pzboyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzboyz/subscriptions","organizations_url":"https://api.github.com/users/pzboyz/orgs","repos_url":"https://api.github.com/users/pzboyz/repos","events_url":"https://api.github.com/users/pzboyz/events{/privacy}","received_events_url":"https://api.github.com/users/pzboyz/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T09:15:59Z","updated_at":"2015-12-14T09:15:59Z","body":"Curious to know if you want to allow the website to register for any BLE advertising data or only \r\nfor Eddystone formatted packets or for a specific Service UUID or ...?\r\n\r\nHow has this problem been solved for Wifi? Are websites able to list SSID and MAC addresses of nearby access points or has this been prohibited because of the fact this to some extents reveals their location?"}}