File tree 4 files changed +10
-11
lines changed
4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
- .idea
2
- .vscode
1
+ .idea /
2
+ .vscode /
Original file line number Diff line number Diff line change 1
- .idea
2
- .vscode
3
- bluetooth.gif
4
- platforms / android / libraryproject
1
+ .idea /
2
+ .vscode /
3
+ media /
4
+ bluetooth.gif
Original file line number Diff line number Diff line change 1
- # NativeScript <img src =" https://github.com/EddyVerbruggen/nativescript-bluetooth/raw/master/bluetooth.gif " height =" 20px " alt =" Bluetooth " /> plugin
1
+ # NativeScript <img src =" https://github.com/EddyVerbruggen/nativescript-bluetooth/raw/master/media/ bluetooth.gif " height =" 20px " alt =" Bluetooth " /> plugin
2
2
3
3
[ ![ NPM version] [ npm-image ]] [ npm-url ]
4
4
[ ![ Downloads] [ downloads-image ]] [ npm-url ]
@@ -103,13 +103,12 @@ bluetooth.requestCoarseLocationPermission().then(
103
103
);
104
104
```
105
105
106
- ### turnBluetoothOn
106
+ ### turnBluetoothOn (Android only)
107
107
``` js
108
- // this turns the bluetooth on, however you should prompt the user before using this
109
- // works only on android so far.
108
+ // This turns bluetooth on, however you should prompt the user before using this.
110
109
bluetooth .turnBluetoothOn ().then (
111
110
function (enabled ) {
112
- // wait a while, till adapter turns on, then check if enabled.
111
+ // wait a while, till adapter turns on, then check if enabled.
113
112
}
114
113
);
115
114
```
File renamed without changes.
You can’t perform that action at this time.
0 commit comments