You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/samples/ranging.ios.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@ If you don't:
18
18
You can request 2 kind of authorizations depending on the use case:
19
19
> Do you need background capability or not?
20
20
21
-
[See matching lines in sample example](https://github.com/MacKentoch/react-native-beacons-manager/blob/master/examples/samples/ranging.ios.js#L35)
22
21
23
22
### 1.a `Beacons.requestWhenInUseAuthorization();` (**foreground** only use-case)
24
23
@@ -29,6 +28,8 @@ Ensure to call
29
28
Beacons.requestWhenInUseAuthorization();
30
29
```
31
30
31
+
[See matching lines in sample example](https://github.com/MacKentoch/react-native-beacons-manager/blob/master/examples/samples/ranging.ios.js#L35)
32
+
32
33
#### in your iOS project
33
34
34
35
To be effective your `info.plist` file should have `Privacy - Location When In Use Usage Description` key defined (*empty value or not. It is better to define a value to a custom / more user-friendly message*).
@@ -49,6 +50,8 @@ Ensure to call
49
50
Beacons.requestAlwaysAuthorization();
50
51
```
51
52
53
+
[See matching lines in sample example](https://github.com/MacKentoch/react-native-beacons-manager/blob/master/examples/samples/ranging.ios.js#L35)
54
+
52
55
#### in your iOS project
53
56
54
57
To be effective your `info.plist` file should have `Privacy - Location Always Usage Description` key defined (*empty value or not. It is better to define a value to a custom / more user-friendly message*).
0 commit comments