@capacitor/geolocation 8.2.1 → 8.2.2
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 +2 -2
- package/android/build.gradle +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ location in the background. As a result, Apple requires you to include a
|
|
|
25
25
|
prompt won’t appear to users, you can safely use the same description string as for
|
|
26
26
|
`NSLocationWhenInUseUsageDescription`.
|
|
27
27
|
|
|
28
|
-
:::
|
|
28
|
+
:::
|
|
29
29
|
|
|
30
30
|
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
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@ The first two permissions ask for location data, both fine and coarse, and the l
|
|
|
46
46
|
|
|
47
47
|
If you only require approximate location (variable accuracy but usually around 2 kilometers), you may just declare `ACCESS_COARSE_LOCATION` and `<uses-feature`, and use `enableHighAccuracy=false` when requesting location
|
|
48
48
|
|
|
49
|
-
:::
|
|
49
|
+
:::
|
|
50
50
|
|
|
51
51
|
Read about [Setting Permissions](https://capacitorjs.com/docs/android/configuration#setting-permissions) in the [Android Guide](https://capacitorjs.com/docs/android) for more information on setting Android permissions.
|
|
52
52
|
|
package/android/build.gradle
CHANGED
|
@@ -27,7 +27,9 @@ buildscript {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
apply plugin: 'com.android.library'
|
|
30
|
-
|
|
30
|
+
if (project.extensions.findByName('kotlin') == null) {
|
|
31
|
+
apply plugin: 'kotlin-android'
|
|
32
|
+
}
|
|
31
33
|
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
|
|
32
34
|
apply plugin: 'io.github.gradle-nexus.publish-plugin'
|
|
33
35
|
apply from: file('../scripts/android/publish-root.gradle')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/geolocation",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.2",
|
|
4
4
|
"description": "The Geolocation API provides simple methods for getting and tracking the current position of the device using GPS, along with altitude, heading, and speed information if available.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|