Skip to content

Commit

Permalink
docs: disable request for bt permission
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinHaigh authored and petermetz committed May 14, 2019
1 parent 1336c1c commit 270ffbb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#### Features exclusive to Android
* ARMA filter for distance calculations
* Disable request for bluetooth permissions

### Installation

Expand Down Expand Up @@ -357,6 +358,12 @@ The underlying library uses the moving average to calculate distance by default,

```<preference name="com.unarin.cordova.beacon.android.altbeacon.EnableArmaFilter" value="true" />```

#### Disable request for bluetooth permission
By default, this library requests the user for bluetooth permissions when the app starts. If you would like to request permission in a different way or at a different time, set the following preference in your `config.xml` file.

```<preference name="com.unarin.cordova.beacon.android.altbeacon.RequestBtPermission" value="false" />```


## Contributions

> Contributions are welcome at all times, please make sure that the tests are running without errors
Expand Down

0 comments on commit 270ffbb

Please sign in to comment.