開發人員可以將應用程式或網站與 BLE 信標或支援 BLE 的智慧型裝置建立關聯。該裝置或信標附近的 Android 使用者將會在 Google 設定的「鄰近分享」部分看到訊息,「支援的快速設定」圖塊會在支援的裝置上亮起,而良好效能的訊息會用來顯示通知。您的訊息可能會將使用者帶往 Play 商店、行動網站,或是直接導向您的應用程式 (如果已安裝)。這項功能內建於 Google Play 服務,因此您不必變更應用程式即可開始使用。
「鄰近分享」功能支援所有類型的 Eddystone 信標和 iBeacon。
您可以使用鄰近通知提供兩種基本體驗:
連結 HTTPS 網址:為使用者提供通知,然後在使用者輕觸通知時在瀏覽器中開啟網址。
觸發應用程式意圖,以啟動已安裝且執行特定動作的應用程式。如果使用者未安裝應用程式,系統會將他們帶往 Play 商店,以便安裝應用程式。使用者隨後可繼續使用開發人員指定的功能。
[null,null,["上次更新時間:2025-08-13 (世界標準時間)。"],[[["\u003cp\u003eNearby Notifications enables users to discover nearby content and services through location-specific notifications, without needing to have the related app installed.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use Nearby Notifications to drive app installs, open social profiles, initiate conversations, and direct users to relevant content or actions based on their proximity to a beacon or smart device.\u003c/p\u003e\n"],["\u003cp\u003eNotifications can be linked to an HTTPS URL to open a webpage, or they can trigger an app intent to launch an installed app or prompt installation if the app isn't present.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is built into Google Play Services, is compatible with various beacon types (Eddystone, iBeacon), and works on Android 4.4 and above.\u003c/p\u003e\n"]]],[],null,["# Nearby Notifications Overview\n\n| **Note:** Nearby Notifications is supported on Android 4.4 (KitKat) and newer.\n\nNearby Notifications helps users to discover what's around them, by surfacing\nlocation-specific notifications for apps and websites, with no prior app\ninstall required. Using Nearby Notifications, you can:\n\n- Drive your own app installs.\n- Open personal or business profiles in social apps.\n- Launch conversations or chatbots inside messaging apps.\n- Drive consumers to content about nearby products.\n- Help users explore store inventory.\n- Drive checkins, reviews within local/travel apps.\n\nAs a developer, you can associate your app or website with a BLE beacon or BLE-\ncapable smart device. Android users near that device or beacon will see the\nmessage in the Nearby section of Google Settings, the Nearby Quick Settings tile\nwill light up on supported devices, and messages that perform well will be\nraised as notifications. Your message can either lead to the Play Store, a\nmobile website, or directly to your app if it's already installed. This\nfunctionality is built in to Google Play Services, so you don't need to change\nyour app to start using it.\n\nNearby Notifications works with all types of Eddystone beacon, and also iBeacon.\n\nThere are two basic types of experiences that you can provide using\nNearby Notifications:\n\n- **Link to an HTTPS URL** to provide a notification to the user, and open the URL in the browser when the user taps the notification.\n- **Trigger an app intent** to launch an app that is already installed and perform a specific action. If the app isn't installed, the user is taken to the Play Store where the app can be installed; the user can then continue to the feature specified by the developer.\n\nNeither experience requires that an app is installed on the user's device."]]