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: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ Check out the [example project](example) for more examples.
174
174
#### `setRNConfiguration()`
175
175
176
176
```javascript
177
-
geolocation.setRNConfiguration(config);
177
+
Geolocation.setRNConfiguration(config);
178
178
```
179
179
180
180
Sets configuration options that will be used in all location requests.
@@ -195,7 +195,7 @@ Supported options:
195
195
#### `requestAuthorization()`
196
196
197
197
```javascript
198
-
geolocation.requestAuthorization();
198
+
Geolocation.requestAuthorization();
199
199
```
200
200
201
201
Request suitable Location permission based on the key configured on pList. If NSLocationAlwaysUsageDescription is set, it will request Always authorization, although if NSLocationWhenInUseUsageDescription is set, it will request InUse authorization.
@@ -205,7 +205,7 @@ Request suitable Location permission based on the key configured on pList. If NS
0 commit comments