Skip to content

Commit af9fcbe

Browse files
author
Douglas Nassif Roma Junior
committed
README
1 parent 3278fe3 commit af9fcbe

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@ Soon
4141
}
4242
```
4343

44+
3. Add permission in `AndroidManifest.xml`
45+
46+
```xml
47+
<manifest ...>
48+
<uses-permission android:name="android.permission.BLUETOOTH" />
49+
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
50+
<uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
51+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
52+
...
53+
</manifest>
54+
```
55+
56+
## Known issues
57+
58+
- Location needs to be enabled for Bluetooth Low Energy Scanning on Android 6.0 http://stackoverflow.com/a/33045489/2826279
59+
4460
## Contribute
4561

4662
New features, bug fixes and improvements in the translation are welcome! For questions and suggestions use the [issues](https://github.com/douglasjunior/AndroidBluetoothLibrary/issues).

Sample/src/main/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
<uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
88
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
99

10-
<uses-feature android:name="android.hardware.bluetooth" />
11-
<uses-feature android:name="android.hardware.bluetooth_le" />
12-
13-
<uses-feature android:name="android.hardware.location.gps" />
14-
1510
<application
1611
android:icon="@mipmap/ic_launcher"
1712
android:label="@string/app_name"

0 commit comments

Comments
 (0)