@capgo/nativegeocoder 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,26 @@ npm install @capgo/nativegeocoder
|
|
|
9
9
|
npx cap sync
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
## iOS
|
|
13
|
+
|
|
14
|
+
Apple requires privacy descriptions to be specified in `Info.plist` for location information:
|
|
15
|
+
|
|
16
|
+
- `NSLocationAlwaysUsageDescription` (`Privacy - Location Always Usage Description`)
|
|
17
|
+
- `NSLocationWhenInUseUsageDescription` (`Privacy - Location When In Use Usage Description`)
|
|
18
|
+
|
|
19
|
+
Read about [Configuring `Info.plist`](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist) in the [iOS Guide](https://capacitorjs.com/docs/ios) for more information on setting iOS permissions in Xcode
|
|
20
|
+
|
|
21
|
+
## Android
|
|
22
|
+
|
|
23
|
+
This API requires the following permissions be added to your `AndroidManifest.xml`:
|
|
24
|
+
|
|
25
|
+
```xml
|
|
26
|
+
<!-- Geolocation API -->
|
|
27
|
+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
28
|
+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
29
|
+
<uses-feature android:name="android.hardware.location.gps" />
|
|
30
|
+
```
|
|
31
|
+
|
|
12
32
|
## API
|
|
13
33
|
|
|
14
34
|
<docgen-index>
|