1 // SPDX-License-Identifier: Unlicense OR MIT
2 3 /*
4 Package bluetooth implements permissions to access Bluetooth and Bluetooth
5 Low Energy hardware, including the ability to discover and pair devices.
6 7 Android
8 9 The following entries will be added to AndroidManifest.xml:
10 11 <uses-permission android:name="android.permission.BLUETOOTH"/>
12 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
13 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
14 <uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
15 <uses-feature android:name="android.hardware.bluetooth_le" android:required="false"/>
16 17 Note that ACCESS_FINE_LOCATION is required on Android before the Bluetooth
18 device may be used.
19 See https://developer.android.com/guide/topics/connectivity/bluetooth.
20 21 ACCESS_FINE_LOCATION is a "dangerous" permission. See documentation for
22 package github.com/p9c/p9/pkg/gel/gio/app/permission for more information.
23 */
24 package bluetooth
25