Nearby Messages API는 블루투스 및 기타 기기 리소스를 사용하여 근처 기기를 감지하고 통신하는 방식으로 인해 배터리를 많이 사용할 수 있습니다. 사용자가 환경을 제어할 수 있도록 사용자가 Nearby Messages API에 처음 액세스할 때 선택 대화상자가 표시됩니다.
사용자는 Nearby가 필요한 기기 리소스를 활용하는 데 동의해야 합니다.
BLE만 해당
앱에 ACCESS_FINE_LOCATION 권한이 부여되었고 게시 및 구독 중에만 BLE를 사용하는 경우 선택 대화상자를 피할 수 있습니다.
[null,null,["최종 업데이트: 2025-03-07(UTC)"],[[["The Nearby Messages API requires user consent to utilize device resources due to potential battery consumption from Bluetooth and other resource usage."],["An opt-in dialog is presented upon first API access, requiring explicit user permission."],["The opt-in dialog can be bypassed if the app only uses Bluetooth Low Energy (BLE), has been granted ACCESS_FINE_LOCATION permission, and is configured with the NearbyPermissions.BLE option."]]],[]]