expo-location 58.0.16 → 58.0.17

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/location/taskConsumers/LocationTaskConsumer.kt +7 -3
  4. package/local-maven-repo/host/exp/exponent/expo.modules.location/{58.0.16/expo.modules.location-58.0.16-sources.jar → 58.0.17/expo.modules.location-58.0.17-sources.jar} +0 -0
  5. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17-sources.jar.md5 +1 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17-sources.jar.sha1 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17-sources.jar.sha256 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17-sources.jar.sha512 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.location/{58.0.16/expo.modules.location-58.0.16.aar → 58.0.17/expo.modules.location-58.0.17.aar} +0 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.aar.md5 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.aar.sha1 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.aar.sha256 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.aar.sha512 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.location/{58.0.16/expo.modules.location-58.0.16.module → 58.0.17/expo.modules.location-58.0.17.module} +22 -22
  15. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.module.md5 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.module.sha1 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.module.sha256 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.module.sha512 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.location/{58.0.16/expo.modules.location-58.0.16.pom → 58.0.17/expo.modules.location-58.0.17.pom} +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.pom.md5 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.pom.sha1 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.pom.sha256 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.17/expo.modules.location-58.0.17.pom.sha512 +1 -0
  24. package/package.json +4 -4
  25. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16-sources.jar.md5 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16-sources.jar.sha1 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16-sources.jar.sha256 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16-sources.jar.sha512 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.aar.md5 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.aar.sha1 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.aar.sha256 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.aar.sha512 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.module.md5 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.module.sha1 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.module.sha256 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.module.sha512 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.pom.md5 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.pom.sha1 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.pom.sha256 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.location/58.0.16/expo.modules.location-58.0.16.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 58.0.17
4
+
5
+ ### Patch Changes
6
+
7
+ - [Android] Fix LocationTaskConsumer.didReceiveBroadcast crashing when the user revoked permissions and the task consumer tried getting the lastLocation. ([#51689](https://github.com/expo/expo/pull/51689) by [@HubertBer](https://github.com/HubertBer))
8
+
3
9
  ## 58.0.16
4
10
 
5
11
  ### Patch Changes
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '58.0.16'
7
+ version = '58.0.17'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.location"
11
11
  defaultConfig {
12
12
  versionCode 29
13
- versionName "58.0.16"
13
+ versionName "58.0.17"
14
14
  consumerProguardFiles("proguard-rules.pro")
15
15
  }
16
16
  }
@@ -89,9 +89,13 @@ class LocationTaskConsumer(context: Context, taskManagerUtils: TaskManagerUtilsI
89
89
  handleLocationUpdate(result.locations)
90
90
  } else {
91
91
  try {
92
- mLocationClient.lastLocation.addOnCompleteListener { task ->
93
- task.result?.let { handleLocationUpdate(listOf(it)) }
94
- }
92
+ mLocationClient.lastLocation
93
+ .addOnSuccessListener { location: Location? ->
94
+ location?.let { handleLocationUpdate(listOf(it)) }
95
+ }
96
+ .addOnFailureListener {
97
+ Log.e(TAG, "Cannot get last location: " + it.message)
98
+ }
95
99
  } catch (e: SecurityException) {
96
100
  Log.e(TAG, "Cannot get last location: " + e.message)
97
101
  }
@@ -0,0 +1 @@
1
+ 4800072f05f734ff0fb00acc4eea3240c3a6509bdec96f50ae800fda47772a83
@@ -0,0 +1 @@
1
+ 9d29af38240313fabd305bbd76d5b5bc2879ecdd31d2efe66265712a6af0a6ec7db1582c0591cb13714f9d0a88ef825248deeaa75a67ab6af41af8b70d74d1fb
@@ -0,0 +1 @@
1
+ 7dc87682e290b1b75aab7315f20b5c406f015599aabb66b0ddef9239bcaafb4e
@@ -0,0 +1 @@
1
+ 6682331d06ec45656d983858709dd92cb52e7fa0f5a230d4facc0b8538a3b1a53391ee1291baa35c379ce27e7d583fef5679c509ab6d1c3ecb21c5f976951b68
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.location",
6
- "version": "58.0.16",
6
+ "version": "58.0.17",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -33,13 +33,13 @@
33
33
  ],
34
34
  "files": [
35
35
  {
36
- "name": "expo.modules.location-58.0.16.aar",
37
- "url": "expo.modules.location-58.0.16.aar",
38
- "size": 581345,
39
- "sha512": "b9f415ce8d931bcad19bf92af9213a06bd77b7457ad4e9d69168a712ea8f12d903cf4e2d814672d153c6f568893c0af7e8af989c79827c7d539800325dd509a9",
40
- "sha256": "c684ad8a5e6c575ee0494ad345ae1136e06d0d55ca4d304313b961231a2a056c",
41
- "sha1": "07fb8183488db6139428ce7f01853e655208c241",
42
- "md5": "e5eb1e873ed54c68fdfaa8436287261f"
36
+ "name": "expo.modules.location-58.0.17.aar",
37
+ "url": "expo.modules.location-58.0.17.aar",
38
+ "size": 581596,
39
+ "sha512": "6682331d06ec45656d983858709dd92cb52e7fa0f5a230d4facc0b8538a3b1a53391ee1291baa35c379ce27e7d583fef5679c509ab6d1c3ecb21c5f976951b68",
40
+ "sha256": "7dc87682e290b1b75aab7315f20b5c406f015599aabb66b0ddef9239bcaafb4e",
41
+ "sha1": "1f00e882accc1f7569f4fac2e03e4ec6deb19291",
42
+ "md5": "7e18750f52b3bdc5f594a6b0e7426e59"
43
43
  }
44
44
  ]
45
45
  },
@@ -90,13 +90,13 @@
90
90
  ],
91
91
  "files": [
92
92
  {
93
- "name": "expo.modules.location-58.0.16.aar",
94
- "url": "expo.modules.location-58.0.16.aar",
95
- "size": 581345,
96
- "sha512": "b9f415ce8d931bcad19bf92af9213a06bd77b7457ad4e9d69168a712ea8f12d903cf4e2d814672d153c6f568893c0af7e8af989c79827c7d539800325dd509a9",
97
- "sha256": "c684ad8a5e6c575ee0494ad345ae1136e06d0d55ca4d304313b961231a2a056c",
98
- "sha1": "07fb8183488db6139428ce7f01853e655208c241",
99
- "md5": "e5eb1e873ed54c68fdfaa8436287261f"
93
+ "name": "expo.modules.location-58.0.17.aar",
94
+ "url": "expo.modules.location-58.0.17.aar",
95
+ "size": 581596,
96
+ "sha512": "6682331d06ec45656d983858709dd92cb52e7fa0f5a230d4facc0b8538a3b1a53391ee1291baa35c379ce27e7d583fef5679c509ab6d1c3ecb21c5f976951b68",
97
+ "sha256": "7dc87682e290b1b75aab7315f20b5c406f015599aabb66b0ddef9239bcaafb4e",
98
+ "sha1": "1f00e882accc1f7569f4fac2e03e4ec6deb19291",
99
+ "md5": "7e18750f52b3bdc5f594a6b0e7426e59"
100
100
  }
101
101
  ]
102
102
  },
@@ -110,13 +110,13 @@
110
110
  },
111
111
  "files": [
112
112
  {
113
- "name": "expo.modules.location-58.0.16-sources.jar",
114
- "url": "expo.modules.location-58.0.16-sources.jar",
115
- "size": 52987,
116
- "sha512": "8b674f701fc21e8e84ff0fe07cd56deac4b8d202c2de45337ffba16bf8b26beea5c89fd9455129c110a2f17d5ac8438ebbfbc06e5445da33ab3eaab52f22b41c",
117
- "sha256": "8416702109af12e163949d5a38660bd1ef0c943233915c32f2557371dc03195d",
118
- "sha1": "3490badbbbb882734adc07832119cae6ee55e028",
119
- "md5": "80d40ac1d1b3c5c7130528aaa6bc2d4e"
113
+ "name": "expo.modules.location-58.0.17-sources.jar",
114
+ "url": "expo.modules.location-58.0.17-sources.jar",
115
+ "size": 53005,
116
+ "sha512": "9d29af38240313fabd305bbd76d5b5bc2879ecdd31d2efe66265712a6af0a6ec7db1582c0591cb13714f9d0a88ef825248deeaa75a67ab6af41af8b70d74d1fb",
117
+ "sha256": "4800072f05f734ff0fb00acc4eea3240c3a6509bdec96f50ae800fda47772a83",
118
+ "sha1": "055e78abdc14467e4b36d601c1fdb1476644b45b",
119
+ "md5": "60629ea45a46bdbe0d67f06226a00d18"
120
120
  }
121
121
  ]
122
122
  }
@@ -0,0 +1 @@
1
+ af6d92626c39850677410691fb62031c99c0aa055c6b2a6d4d07eab87d5ea5bd
@@ -0,0 +1 @@
1
+ 8e9e231517618f60bb3bb4da5ad9bd8fae40ca47677d045554ad1671f21d894d1ac2d63559a49854be493ac89c97d7f6206ae0a1a2df09dc9c7763d27cd05e20
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.location</artifactId>
12
- <version>58.0.16</version>
12
+ <version>58.0.17</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.location</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 264a45ebc94e4bc27476a680521bfd280f522e7aaea02825ac3bf7d314ec17a5
@@ -0,0 +1 @@
1
+ cbc45ae6ef443c946b090cb65bb450203bd23168d9056cb290847573e47a27954d2f5a72caff302f149a60d08e5c0dfcfb10fc4b79f32b8b94e119846c37e14f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-location",
3
- "version": "58.0.16",
3
+ "version": "58.0.17",
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
  "keywords": [
6
6
  "compass",
@@ -52,12 +52,12 @@
52
52
  "@expo/image-utils": "^0.12.5"
53
53
  },
54
54
  "devDependencies": {
55
- "@expo/internal-scripts": "58.0.2",
55
+ "@expo/internal-scripts": "58.0.3",
56
56
  "@types/jest": "^30.0.0",
57
57
  "@types/node": "^22.14.0",
58
58
  "@types/react": "~19.3.0",
59
- "expo": "58.0.10",
60
- "expo-task-manager": "~58.0.11"
59
+ "expo": "58.0.13",
60
+ "expo-task-manager": "~58.0.12"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "expo": "*",
@@ -1 +0,0 @@
1
- 8416702109af12e163949d5a38660bd1ef0c943233915c32f2557371dc03195d
@@ -1 +0,0 @@
1
- 8b674f701fc21e8e84ff0fe07cd56deac4b8d202c2de45337ffba16bf8b26beea5c89fd9455129c110a2f17d5ac8438ebbfbc06e5445da33ab3eaab52f22b41c
@@ -1 +0,0 @@
1
- c684ad8a5e6c575ee0494ad345ae1136e06d0d55ca4d304313b961231a2a056c
@@ -1 +0,0 @@
1
- b9f415ce8d931bcad19bf92af9213a06bd77b7457ad4e9d69168a712ea8f12d903cf4e2d814672d153c6f568893c0af7e8af989c79827c7d539800325dd509a9
@@ -1 +0,0 @@
1
- 50d4256b6e4005365764709bdf6d4c182f4dcde6d57b9cb5000bde40aa2068e2
@@ -1 +0,0 @@
1
- fabf1f875058529972fdbdd50998e7324c255f9aba3d390c5334efef51d67bf6d73efc875819f19ffda87835bc956055db072dd933b3b7013dcdb3cfeb313ce3
@@ -1 +0,0 @@
1
- 30170ac08d01b04cdfdc1e270f71bbfabb2ff8678e15a2668034cca4ca111e09
@@ -1 +0,0 @@
1
- c72b17fccca215a8d7ba99629d8b27b95878ef51a1f2ea8e9174fbfd0bdfb38ba8629bbfd17809509f80ed27dc1bbee0628eae6f093c8454f02c560d2f320f49