Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
heypiotr authored Sep 19, 2019
1 parent 68d83e2 commit 723d0e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ You can read more about Estimote Proximity on [developer.estimote.com](https://d
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Location permission](#location-permission)
- [Bluetooth permission](#bluetooth-permission)
- [Background support](#background-support)
- [Usage & examples](#usage--examples)
- ["Already observing"](#already-observing)
Expand Down Expand Up @@ -85,6 +86,17 @@ These are the messages that iOS will show as part of the location permission pop

On **Android**, the `targetSdkVersion` needs to be at least 23. New versions of react-native (0.56+) use 26+, so you don't need to do anything. If you're still on an older version, then in the `android/app/build.gradle` file: find `targetSdkVersion 22` and change it to `23`.

## Bluetooth permission

On **iOS**, you also need to add the following entry in your app's Info.plist file: (you'll usually find it at `ios/APP_NAME/Info.plist`)

```xml
<key>NSBluetoothAlwaysUsageDescription</key>
<string>We use Bluetooth beacons for better location accuracy indoors.</string>
```

This message will show as part of the Bluetooth permission popup introduced in iOS 13.

## Background support

Other than obtaining the `ALWAYS` location permission, there's just a little bit more to do if you want your app to keep getting the enter/exit/change callbacks in the background.
Expand Down

0 comments on commit 723d0e3

Please sign in to comment.