expo-location 18.1.3 → 18.1.5
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/CHANGELOG.md +10 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/location/records/LocationArguments.kt +7 -4
- package/expo-module.config.json +1 -7
- package/package.json +3 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3-sources.jar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3-sources.jar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3-sources.jar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3-sources.jar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3-sources.jar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.module +0 -110
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.pom +0 -47
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.3/expo.modules.location-18.1.3.pom.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml +0 -13
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.sha512 +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 18.1.5 — 2025-05-08
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Fix `shouldUseForegroundService` being always `true`. ([#35875](https://github.com/expo/expo/pull/35875) by [@filipef101](https://github.com/filipef101))
|
|
18
|
+
|
|
19
|
+
## 18.1.4 — 2025-04-30
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
13
23
|
## 18.1.3 — 2025-04-25
|
|
14
24
|
|
|
15
25
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '18.1.
|
|
7
|
+
version = '18.1.5'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.location"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 29
|
|
13
|
-
versionName "18.1.
|
|
13
|
+
versionName "18.1.5"
|
|
14
14
|
consumerProguardFiles("proguard-rules.pro")
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -45,16 +45,19 @@ internal class LocationTaskOptions(
|
|
|
45
45
|
@Field var deferredUpdatesTimeout: Float? = null,
|
|
46
46
|
@Field var foregroundService: LocationTaskServiceOptions? = null
|
|
47
47
|
) : LocationOptions() {
|
|
48
|
-
internal fun toMutableMap() = mutableMapOf(
|
|
48
|
+
internal fun toMutableMap(): MutableMap<String, Any?> = mutableMapOf<String, Any?>(
|
|
49
49
|
"accuracy" to accuracy,
|
|
50
50
|
"distanceInterval" to distanceInterval,
|
|
51
51
|
"mayShowUserSettingsDialog" to mayShowUserSettingsDialog,
|
|
52
52
|
"timeInterval" to timeInterval,
|
|
53
53
|
"deferredUpdatesDistance" to deferredUpdatesDistance,
|
|
54
54
|
"deferredUpdatesInterval" to deferredUpdatesInterval,
|
|
55
|
-
"deferredUpdatesTimeout" to deferredUpdatesTimeout
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
"deferredUpdatesTimeout" to deferredUpdatesTimeout
|
|
56
|
+
).apply {
|
|
57
|
+
foregroundService?.let {
|
|
58
|
+
this["foregroundService"] = it.toMutableMap()
|
|
59
|
+
}
|
|
60
|
+
}
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
internal class LocationTaskServiceOptions(
|
package/expo-module.config.json
CHANGED
|
@@ -4,12 +4,6 @@
|
|
|
4
4
|
"modules": ["LocationModule"]
|
|
5
5
|
},
|
|
6
6
|
"android": {
|
|
7
|
-
"modules": ["expo.modules.location.LocationModule"]
|
|
8
|
-
"publication": {
|
|
9
|
-
"groupId": "host.exp.exponent",
|
|
10
|
-
"artifactId": "expo.modules.location",
|
|
11
|
-
"version": "18.1.3",
|
|
12
|
-
"repository": "local-maven-repo"
|
|
13
|
-
}
|
|
7
|
+
"modules": ["expo.modules.location.LocationModule"]
|
|
14
8
|
}
|
|
15
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-location",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.5",
|
|
4
4
|
"description": "Allows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"preset": "expo-module-scripts"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"expo-module-scripts": "^4.1.
|
|
42
|
+
"expo-module-scripts": "^4.1.7"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"expo": "*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "49c9d53cf0a9fc8179d1c8f5268beadd141f70ca"
|
|
48
48
|
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
009930bf49815cd59874db36ca7f4ab1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
838e05dcb6c21532cad991a724a4ce9ce2a3e572
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d30c5c5e8e013d7356095a0ba9b19939ede75235295cac9193aa27a7601f2d8a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
68920c75933565fda76d75b67d44945458385ade303118b7942cf8e07ad741a25dafc44fa2a5046aaa04f6be46a13ef14d80ac131aedd115061b5ac7c863dc94
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e6b412bc03e477545551995ecd438279
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8d2597d046df91f4e4afff9c99314069d811a987
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d7e3900bfd3e7087a852c8ad3f56ed9151b6186e0d076c9464ab76b92eb509c4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
72450165ee1336765a3c50544b4f08be1685c324ea2fc37346e50f3d31d4226e6e994b94d1710473e86da6590376c9f1b09210af1e442a0ba89977174b90e12f
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"formatVersion": "1.1",
|
|
3
|
-
"component": {
|
|
4
|
-
"group": "host.exp.exponent",
|
|
5
|
-
"module": "expo.modules.location",
|
|
6
|
-
"version": "18.1.3",
|
|
7
|
-
"attributes": {
|
|
8
|
-
"org.gradle.status": "release"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"createdBy": {
|
|
12
|
-
"gradle": {
|
|
13
|
-
"version": "8.13"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"variants": [
|
|
17
|
-
{
|
|
18
|
-
"name": "releaseVariantReleaseApiPublication",
|
|
19
|
-
"attributes": {
|
|
20
|
-
"org.gradle.category": "library",
|
|
21
|
-
"org.gradle.dependency.bundling": "external",
|
|
22
|
-
"org.gradle.libraryelements": "aar",
|
|
23
|
-
"org.gradle.usage": "java-api"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": [
|
|
26
|
-
{
|
|
27
|
-
"group": "com.google.android.gms",
|
|
28
|
-
"module": "play-services-location",
|
|
29
|
-
"version": {
|
|
30
|
-
"requires": "21.0.1"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"files": [
|
|
35
|
-
{
|
|
36
|
-
"name": "expo.modules.location-18.1.3.aar",
|
|
37
|
-
"url": "expo.modules.location-18.1.3.aar",
|
|
38
|
-
"size": 184743,
|
|
39
|
-
"sha512": "72450165ee1336765a3c50544b4f08be1685c324ea2fc37346e50f3d31d4226e6e994b94d1710473e86da6590376c9f1b09210af1e442a0ba89977174b90e12f",
|
|
40
|
-
"sha256": "d7e3900bfd3e7087a852c8ad3f56ed9151b6186e0d076c9464ab76b92eb509c4",
|
|
41
|
-
"sha1": "8d2597d046df91f4e4afff9c99314069d811a987",
|
|
42
|
-
"md5": "e6b412bc03e477545551995ecd438279"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "releaseVariantReleaseRuntimePublication",
|
|
48
|
-
"attributes": {
|
|
49
|
-
"org.gradle.category": "library",
|
|
50
|
-
"org.gradle.dependency.bundling": "external",
|
|
51
|
-
"org.gradle.libraryelements": "aar",
|
|
52
|
-
"org.gradle.usage": "java-runtime"
|
|
53
|
-
},
|
|
54
|
-
"dependencies": [
|
|
55
|
-
{
|
|
56
|
-
"group": "org.jetbrains.kotlin",
|
|
57
|
-
"module": "kotlin-stdlib-jdk7",
|
|
58
|
-
"version": {
|
|
59
|
-
"requires": "2.0.21"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"group": "androidx.annotation",
|
|
64
|
-
"module": "annotation",
|
|
65
|
-
"version": {
|
|
66
|
-
"requires": "1.7.1"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"group": "com.google.android.gms",
|
|
71
|
-
"module": "play-services-location",
|
|
72
|
-
"version": {
|
|
73
|
-
"requires": "21.0.1"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"files": [
|
|
78
|
-
{
|
|
79
|
-
"name": "expo.modules.location-18.1.3.aar",
|
|
80
|
-
"url": "expo.modules.location-18.1.3.aar",
|
|
81
|
-
"size": 184743,
|
|
82
|
-
"sha512": "72450165ee1336765a3c50544b4f08be1685c324ea2fc37346e50f3d31d4226e6e994b94d1710473e86da6590376c9f1b09210af1e442a0ba89977174b90e12f",
|
|
83
|
-
"sha256": "d7e3900bfd3e7087a852c8ad3f56ed9151b6186e0d076c9464ab76b92eb509c4",
|
|
84
|
-
"sha1": "8d2597d046df91f4e4afff9c99314069d811a987",
|
|
85
|
-
"md5": "e6b412bc03e477545551995ecd438279"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"name": "releaseVariantReleaseSourcePublication",
|
|
91
|
-
"attributes": {
|
|
92
|
-
"org.gradle.category": "documentation",
|
|
93
|
-
"org.gradle.dependency.bundling": "external",
|
|
94
|
-
"org.gradle.docstype": "sources",
|
|
95
|
-
"org.gradle.usage": "java-runtime"
|
|
96
|
-
},
|
|
97
|
-
"files": [
|
|
98
|
-
{
|
|
99
|
-
"name": "expo.modules.location-18.1.3-sources.jar",
|
|
100
|
-
"url": "expo.modules.location-18.1.3-sources.jar",
|
|
101
|
-
"size": 22886,
|
|
102
|
-
"sha512": "68920c75933565fda76d75b67d44945458385ade303118b7942cf8e07ad741a25dafc44fa2a5046aaa04f6be46a13ef14d80ac131aedd115061b5ac7c863dc94",
|
|
103
|
-
"sha256": "d30c5c5e8e013d7356095a0ba9b19939ede75235295cac9193aa27a7601f2d8a",
|
|
104
|
-
"sha1": "838e05dcb6c21532cad991a724a4ce9ce2a3e572",
|
|
105
|
-
"md5": "009930bf49815cd59874db36ca7f4ab1"
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
41a29640a8e869bc92765e492316266c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d686627b952b6996b5e35788d7cd1aaf7846f2de
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2a9d02d44245720288b60501b300ca06088c964aa0e4877a4d6ee9c2dbd36409
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7f0c8129ed7b6031994ab2c7c2213544661ad733130adef9ba628866c24473b528938b81a448169e3ccd9e8e226bfa6c581788a3519ffe9312996f7364b59e8b
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
4
|
-
<!-- This module was also published with a richer model, Gradle metadata, -->
|
|
5
|
-
<!-- which should be used instead. Do not delete the following line which -->
|
|
6
|
-
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
|
7
|
-
<!-- that they should prefer consuming it instead. -->
|
|
8
|
-
<!-- do_not_remove: published-with-gradle-metadata -->
|
|
9
|
-
<modelVersion>4.0.0</modelVersion>
|
|
10
|
-
<groupId>host.exp.exponent</groupId>
|
|
11
|
-
<artifactId>expo.modules.location</artifactId>
|
|
12
|
-
<version>18.1.3</version>
|
|
13
|
-
<packaging>aar</packaging>
|
|
14
|
-
<name>expo.modules.location</name>
|
|
15
|
-
<url>https://github.com/expo/expo</url>
|
|
16
|
-
<licenses>
|
|
17
|
-
<license>
|
|
18
|
-
<name>MIT License</name>
|
|
19
|
-
<url>https://github.com/expo/expo/blob/main/LICENSE</url>
|
|
20
|
-
</license>
|
|
21
|
-
</licenses>
|
|
22
|
-
<scm>
|
|
23
|
-
<connection>https://github.com/expo/expo.git</connection>
|
|
24
|
-
<developerConnection>https://github.com/expo/expo.git</developerConnection>
|
|
25
|
-
<url>https://github.com/expo/expo</url>
|
|
26
|
-
</scm>
|
|
27
|
-
<dependencies>
|
|
28
|
-
<dependency>
|
|
29
|
-
<groupId>com.google.android.gms</groupId>
|
|
30
|
-
<artifactId>play-services-location</artifactId>
|
|
31
|
-
<version>21.0.1</version>
|
|
32
|
-
<scope>compile</scope>
|
|
33
|
-
</dependency>
|
|
34
|
-
<dependency>
|
|
35
|
-
<groupId>org.jetbrains.kotlin</groupId>
|
|
36
|
-
<artifactId>kotlin-stdlib-jdk7</artifactId>
|
|
37
|
-
<version>2.0.21</version>
|
|
38
|
-
<scope>runtime</scope>
|
|
39
|
-
</dependency>
|
|
40
|
-
<dependency>
|
|
41
|
-
<groupId>androidx.annotation</groupId>
|
|
42
|
-
<artifactId>annotation</artifactId>
|
|
43
|
-
<version>1.7.1</version>
|
|
44
|
-
<scope>runtime</scope>
|
|
45
|
-
</dependency>
|
|
46
|
-
</dependencies>
|
|
47
|
-
</project>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
21a2b7ab17ef52e366f0e1e97fb5c413
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cd889649e4a8487702390ba2c7ede2a53f64107b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5a327b8ae71ac4de09977ec27e9ca372b60e0715cf4498eaebfb4fddf0082640
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cdbf84165d1e1412e357608ce2672ec5b37f8534005d1a7d5d8e4bf17e6724639496da8bbc7eb7e925c7f072dba073ea4ae0ea2658f354f99426457f0c0aca4a
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<metadata>
|
|
3
|
-
<groupId>host.exp.exponent</groupId>
|
|
4
|
-
<artifactId>expo.modules.location</artifactId>
|
|
5
|
-
<versioning>
|
|
6
|
-
<latest>18.1.3</latest>
|
|
7
|
-
<release>18.1.3</release>
|
|
8
|
-
<versions>
|
|
9
|
-
<version>18.1.3</version>
|
|
10
|
-
</versions>
|
|
11
|
-
<lastUpdated>20250425210749</lastUpdated>
|
|
12
|
-
</versioning>
|
|
13
|
-
</metadata>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
717f35205227a652d16d1757f9e1edec
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3026d1f3d3dad9feb485ecaafe763ea69c0526f2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b9f869a718d2d66f5d2cd25dd2b317212493e878748d56e1b7abe01c802b236f
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c81fb2fe6ff5e2f31ae24122a0380e8ab06ec0dfe786e7c5663d83307738a6d46ede6e235aceeb1c76cfb0465549b16a86adb05f813912e3ab6d248235894471
|