Add proximity to apps with Nearby
summary
Nearby exposes three concrete APIs: pub/sub messages (≈100 KB) that combine BLE, classic Bluetooth and an optional ultrasound room-detection channel plus a cloud co‑presence token lookup; offline peer-to-peer via mDNS for local device discovery and transfers; and nearby notifications to non-installed apps that wake apps from background and deep‑link users. Examples include Chromecast setup using ultrasound which proves cross‑device reliability, beacon attachment handling with background wake and filtering, and platform limits to prevent abuse.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 0:40Nearby API
- 1:07Background
- 2:07Bluetooth
- 3:55Audio
- 4:59Spectrum Analyzer
- 6:42CoPresidents Server
- 7:53Chromecast Gas Mode
- 9:43Phone Messages API
- 11:02Code examples
- 12:21Beacons
- 15:43Beacon Scanning
- 18:42Nearby Notifications
- 19:02Nearby Renovations
- 20:25Default Nearby Notifications
- 23:17Attachments
- 24:32Wrap Up
- 25:02Contact us
related talks
36mContextualize Apps with Nearby + Awareness
42mUp close and personal with Nearby
38mPutting the “Pro” in “Proximity”: Interactive Demos of the Nearby API
43mWon’t You Be My Neighbor? Making Friends with Google Nearby
08mPhysical Web
21mInteracting with the Physical Web
27mExploring the latest Bluetooth® innovations
20mBeacons, Eddystone and the Physical Web
