@nitra/geolocation 7.1.3 → 7.1.4
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/android/build.gradle
CHANGED
|
@@ -59,7 +59,7 @@ repositories {
|
|
|
59
59
|
|
|
60
60
|
dependencies {
|
|
61
61
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
62
|
-
|
|
62
|
+
implementation 'com.github.nitra:ion-android-geolocation:fake-fede1ce2b3-1'
|
|
63
63
|
|
|
64
64
|
implementation project(':capacitor-android')
|
|
65
65
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
@@ -260,6 +260,7 @@ class GeolocationPlugin : Plugin() {
|
|
|
260
260
|
put("speed", locationResult.speed)
|
|
261
261
|
put("heading", locationResult.heading)
|
|
262
262
|
put("isMock", locationResult.isMock)
|
|
263
|
+
put("provider", locationResult.provider)
|
|
263
264
|
}
|
|
264
265
|
return JSObject().apply {
|
|
265
266
|
put("timestamp", locationResult.timestamp)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nitra/geolocation",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.4",
|
|
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",
|