expo-location 18.1.4 → 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 +6 -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.4/expo.modules.location-18.1.4-sources.jar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4-sources.jar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4-sources.jar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4-sources.jar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4-sources.jar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.module +0 -110
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.pom +0 -47
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/18.1.4/expo.modules.location-18.1.4.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,12 @@
|
|
|
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
|
+
|
|
13
19
|
## 18.1.4 — 2025-04-30
|
|
14
20
|
|
|
15
21
|
_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.4",
|
|
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.4",
|
|
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.4.aar",
|
|
37
|
-
"url": "expo.modules.location-18.1.4.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.4.aar",
|
|
80
|
-
"url": "expo.modules.location-18.1.4.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.4-sources.jar",
|
|
100
|
-
"url": "expo.modules.location-18.1.4-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
|
-
6466a307b5a110829c25762b8d8229bd
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ef42f078992a411b523dcdcce0115e49eed3ea0c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e35ec08a975837ba3671e8a63c4cac571550595b6deadc5377fc14fc562a209e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d22842bbff486cbe3663e4000fad30ff442057da48ad6b51552df80b2b0153e707dc1eade508c70bd00268947e07550511d5ae50bc22f5529192159deead11c6
|
|
@@ -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.4</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
|
-
1f4ec4341c70b44f66f7b051575aebdb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
49a9b39d55febe2ebdf84fd8d8f5bdb8ea2eb03b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
15752f98cdce793e912cc1601f56ee02f3ac543c287f1b967122d31f7ae7c6fa
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e79e13d42343d28b457a5212000e92b030825f58b604581d392ba87bc5fa269462f2eb3ae62fd54e1b327fde96883b7491dbf134f0a0a290713bbd97d671d198
|
|
@@ -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.4</latest>
|
|
7
|
-
<release>18.1.4</release>
|
|
8
|
-
<versions>
|
|
9
|
-
<version>18.1.4</version>
|
|
10
|
-
</versions>
|
|
11
|
-
<lastUpdated>20250430211456</lastUpdated>
|
|
12
|
-
</versioning>
|
|
13
|
-
</metadata>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1a8796dbbb9c5eea1fe46575202454e1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c745d954b217765ed1d8435f8b6a879b4b9a059a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
38cae354b158683d216457ea51ecab791c472d9cac75b1563ca416324189089c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c9d8d261c196c82cbb6f49b855660ccd721b04e289632a39a74e1a0ddde5b47bcfa374ace833f4a4ba940f6cc38bf7ae28d78b6fb387b9413795c36884400542
|