expo-maps 56.0.4 → 56.0.6

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 (60) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/maps/GoogleMapsView.kt +29 -26
  4. package/build/index.js +1 -1
  5. package/build/index.js.map +1 -1
  6. package/build/shared.types.d.ts +1 -1
  7. package/build/shared.types.d.ts.map +1 -1
  8. package/build/shared.types.js.map +1 -1
  9. package/expo-module.config.json +1 -1
  10. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6-sources.jar +0 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6-sources.jar.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6-sources.jar.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6-sources.jar.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6-sources.jar.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.aar +0 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.aar.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.aar.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.aar.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.aar.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.maps/{56.0.4/expo.modules.maps-56.0.4.module → 56.0.6/expo.modules.maps-56.0.6.module} +22 -22
  21. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.module.md5 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.module.sha1 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.module.sha256 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.module.sha512 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.maps/{56.0.4/expo.modules.maps-56.0.4.pom → 56.0.6/expo.modules.maps-56.0.6.pom} +1 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.pom.md5 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.pom.sha1 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.pom.sha256 +1 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.6/expo.modules.maps-56.0.6.pom.sha512 +1 -0
  30. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml +4 -4
  31. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.md5 +1 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha1 +1 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha256 +1 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.maps/maven-metadata.xml.sha512 +1 -1
  35. package/package.json +3 -3
  36. package/plugin/index.d.ts +1 -0
  37. package/plugin/index.js +1 -1
  38. package/prebuilds/output/debug/xcframeworks/ExpoMaps.tar.gz +0 -0
  39. package/prebuilds/output/release/xcframeworks/ExpoMaps.tar.gz +0 -0
  40. package/src/index.ts +1 -1
  41. package/src/shared.types.ts +1 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4-sources.jar +0 -0
  43. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4-sources.jar.md5 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4-sources.jar.sha1 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4-sources.jar.sha256 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4-sources.jar.sha512 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.aar +0 -0
  48. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.aar.md5 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.aar.sha1 +0 -1
  50. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.aar.sha256 +0 -1
  51. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.aar.sha512 +0 -1
  52. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.module.md5 +0 -1
  53. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.module.sha1 +0 -1
  54. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.module.sha256 +0 -1
  55. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.module.sha512 +0 -1
  56. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.pom.md5 +0 -1
  57. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.pom.sha1 +0 -1
  58. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.pom.sha256 +0 -1
  59. package/local-maven-repo/host/exp/exponent/expo.modules.maps/56.0.4/expo.modules.maps-56.0.4.pom.sha512 +0 -1
  60. package/plugin/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,19 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.6 — 2026-05-21
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix an ES module import error in the typed config plugin. ([#46089](https://github.com/expo/expo/pull/46089) by [@zoontek](https://github.com/zoontek))
18
+ - [Android] Fixed SVG drawables not rendering as Google Maps marker icons, and memoized marker rasterization across recompositions. ([#46077](https://github.com/expo/expo/pull/46077) by [@nishan](https://github.com/intergalacticspacehighway))
19
+
20
+ ## 56.0.5 — 2026-05-13
21
+
22
+ ### 💡 Others
23
+
24
+ - Updated permission hook imports to be imported from `expo` instead of `expo-modules-core` ([#45565](https://github.com/expo/expo/pull/45565) by [@Wenszel](https://github.com/Wenszel))
25
+
13
26
  ## 56.0.4 — 2026-05-11
14
27
 
15
28
  _This version does not introduce any user-facing changes._
@@ -14,13 +14,13 @@ apply plugin: 'expo-module-gradle-plugin'
14
14
  apply plugin: 'org.jetbrains.kotlin.plugin.compose'
15
15
 
16
16
  group = 'host.exp.exponent'
17
- version = '56.0.4'
17
+ version = '56.0.6'
18
18
 
19
19
  android {
20
20
  namespace "expo.modules.maps"
21
21
  defaultConfig {
22
22
  versionCode 1
23
- versionName "56.0.4"
23
+ versionName "56.0.6"
24
24
  }
25
25
  buildFeatures {
26
26
  compose true
@@ -4,16 +4,17 @@ import android.annotation.SuppressLint
4
4
  import android.content.Context
5
5
  import android.graphics.Bitmap
6
6
  import android.graphics.Point
7
- import android.graphics.drawable.BitmapDrawable
8
7
  import android.graphics.drawable.Drawable
9
8
  import android.view.MotionEvent
10
9
  import androidx.compose.foundation.layout.fillMaxSize
10
+ import androidx.core.graphics.drawable.toBitmap
11
11
  import androidx.compose.runtime.Composable
12
12
  import androidx.compose.runtime.LaunchedEffect
13
13
  import androidx.compose.runtime.MutableState
14
14
  import androidx.compose.runtime.State
15
15
  import androidx.compose.runtime.derivedStateOf
16
16
  import androidx.compose.runtime.getValue
17
+ import androidx.compose.runtime.key
17
18
  import androidx.compose.runtime.mutableStateOf
18
19
  import androidx.compose.runtime.remember
19
20
  import androidx.compose.ui.Modifier
@@ -192,30 +193,32 @@ class GoogleMapsView(context: Context, appContext: AppContext) :
192
193
  )
193
194
 
194
195
  for ((marker, state) in markerState.value) {
195
- val icon = getIconDescriptor(marker)
196
-
197
- Marker(
198
- state = state,
199
- title = marker.title,
200
- snippet = marker.snippet,
201
- draggable = marker.draggable,
202
- anchor = marker.anchor.toOffset(),
203
- zIndex = marker.zIndex,
204
- icon = icon,
205
- onClick = {
206
- onMarkerClick(
207
- // We can't send icon to js, because it's not serializable
208
- // So we need to remove it from the marker record
209
- MarkerRecord(
210
- id = marker.id,
211
- title = marker.title,
212
- snippet = marker.snippet,
213
- coordinates = marker.coordinates
196
+ key(marker.id) {
197
+ val icon = remember(marker.icon) { getIconDescriptor(marker) }
198
+
199
+ Marker(
200
+ state = state,
201
+ title = marker.title,
202
+ snippet = marker.snippet,
203
+ draggable = marker.draggable,
204
+ anchor = marker.anchor.toOffset(),
205
+ zIndex = marker.zIndex,
206
+ icon = icon,
207
+ onClick = {
208
+ onMarkerClick(
209
+ // We can't send icon to js, because it's not serializable
210
+ // So we need to remove it from the marker record
211
+ MarkerRecord(
212
+ id = marker.id,
213
+ title = marker.title,
214
+ snippet = marker.snippet,
215
+ coordinates = marker.coordinates
216
+ )
214
217
  )
215
- )
216
- !marker.showCallout
217
- }
218
- )
218
+ !marker.showCallout
219
+ }
220
+ )
221
+ }
219
222
  }
220
223
  }
221
224
  }
@@ -414,12 +417,12 @@ class GoogleMapsView(context: Context, appContext: AppContext) :
414
417
  private fun getIconDescriptor(marker: MarkerRecord): BitmapDescriptor? {
415
418
  return marker.icon?.let { icon ->
416
419
  val bitmap = if (icon.`is`(toKClass<SharedRef<Drawable>>())) {
417
- (icon.get(toKClass<SharedRef<Drawable>>()).ref as? BitmapDrawable)?.bitmap
420
+ icon.get(toKClass<SharedRef<Drawable>>()).ref.toBitmap()
418
421
  } else {
419
422
  icon.get(toKClass<SharedRef<Bitmap>>()).ref
420
423
  }
421
424
 
422
- bitmap?.let { BitmapDescriptorFactory.fromBitmap(it) }
425
+ BitmapDescriptorFactory.fromBitmap(bitmap)
423
426
  }
424
427
  }
425
428
  }
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createPermissionHook } from 'expo-modules-core';
1
+ import { createPermissionHook } from 'expo';
2
2
  import ExpoMaps from './ExpoMaps';
3
3
  import * as AppleTypes from './apple/AppleMaps.types';
4
4
  import { AppleMapsView } from './apple/AppleMapsView';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;GAEG;AACH,MAAM,KAAW,UAAU,CAkB1B;AAlBD,WAAiB,UAAU;IACZ,eAAI,GAAG,cAAc,CAAC;IACtB,qBAAU,GAAG,gBAAgB,CAAC;IAE9B,kBAAO,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAGxC,yBAAc,GAAG,WAAW,CAAC,qBAAqB,CAAC;AAWlE,CAAC,EAlBgB,UAAU,KAAV,UAAU,QAkB1B;AAED;;GAEG;AACH,MAAM,KAAW,SAAS,CAsBzB;AAtBD,WAAiB,SAAS;IACX,cAAI,GAAG,aAAa,CAAC;IAErB,iBAAO,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAGtC,2BAAiB,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAG1D,wBAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAGjD,sBAAY,GAAG,UAAU,CAAC,qBAAqB,CAAC;AAU/D,CAAC,EAtBgB,SAAS,KAAT,SAAS,QAsBzB;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,uBAAuB,CAAC;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;AAEhE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;IACzD,SAAS,EAAE,mBAAmB;IAC9B,aAAa,EAAE,uBAAuB;CACvC,CAAC,CAAC;AAEH,cAAc,gBAAgB,CAAC","sourcesContent":["import { createPermissionHook } from 'expo-modules-core';\n\nimport ExpoMaps from './ExpoMaps';\nimport * as AppleTypes from './apple/AppleMaps.types';\nimport { AppleMapsView } from './apple/AppleMapsView';\nimport * as GoogleTypes from './google/GoogleMaps.types';\nimport { GoogleMapsView } from './google/GoogleMapsView';\nimport { GoogleStreetView } from './google/GoogleStreetView';\n\n/**\n * @hidden\n */\nexport namespace GoogleMaps {\n export const View = GoogleMapsView;\n export const StreetView = GoogleStreetView;\n\n export const MapType = GoogleTypes.GoogleMapsMapType;\n export type MapType = GoogleTypes.GoogleMapsMapType;\n\n export const MapColorScheme = GoogleTypes.GoogleMapsColorScheme;\n export type MapColorScheme = GoogleTypes.GoogleMapsColorScheme;\n\n export type Marker = GoogleTypes.GoogleMapsMarker;\n export type MapUISettings = GoogleTypes.GoogleMapsUISettings;\n export type MapProperties = GoogleTypes.GoogleMapsProperties;\n\n export type MapProps = GoogleTypes.GoogleMapsViewProps;\n export type MapView = GoogleTypes.GoogleMapsViewType;\n\n export type StreetViewProps = GoogleTypes.GoogleStreetViewProps;\n}\n\n/**\n * @hidden\n */\nexport namespace AppleMaps {\n export const View = AppleMapsView;\n\n export const MapType = AppleTypes.AppleMapsMapType;\n export type MapType = AppleTypes.AppleMapsMapType;\n\n export const MapStyleElevation = AppleTypes.AppleMapsMapStyleElevation;\n export type MapStyleElevation = AppleTypes.AppleMapsMapStyleElevation;\n\n export const MapColorScheme = AppleTypes.AppleMapsColorScheme;\n export type MapColorScheme = AppleTypes.AppleMapsColorScheme;\n\n export const ContourStyle = AppleTypes.AppleMapsContourStyle;\n export type ContourStyle = AppleTypes.AppleMapsContourStyle;\n\n export type Marker = AppleTypes.AppleMapsMarker;\n export type Annotation = AppleTypes.AppleMapsAnnotation;\n export type MapUISettings = AppleTypes.AppleMapsUISettings;\n export type MapProperties = AppleTypes.AppleMapsProperties;\n\n export type MapProps = AppleTypes.AppleMapsViewProps;\n export type MapView = AppleTypes.AppleMapsViewType;\n}\n\nexport const requestPermissionsAsync = ExpoMaps.requestPermissionsAsync;\nexport const getPermissionsAsync = ExpoMaps.getPermissionsAsync;\n\n/**\n * Check or request permissions to access the location.\n * This uses both `requestPermissionsAsync` and `getPermissionsAsync` to interact with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = useLocationPermissions();\n * ```\n */\nexport const useLocationPermissions = createPermissionHook({\n getMethod: getPermissionsAsync,\n requestMethod: requestPermissionsAsync,\n});\n\nexport * from './shared.types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,MAAM,CAAC;AAE5C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;GAEG;AACH,MAAM,KAAW,UAAU,CAkB1B;AAlBD,WAAiB,UAAU;IACZ,eAAI,GAAG,cAAc,CAAC;IACtB,qBAAU,GAAG,gBAAgB,CAAC;IAE9B,kBAAO,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAGxC,yBAAc,GAAG,WAAW,CAAC,qBAAqB,CAAC;AAWlE,CAAC,EAlBgB,UAAU,KAAV,UAAU,QAkB1B;AAED;;GAEG;AACH,MAAM,KAAW,SAAS,CAsBzB;AAtBD,WAAiB,SAAS;IACX,cAAI,GAAG,aAAa,CAAC;IAErB,iBAAO,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAGtC,2BAAiB,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAG1D,wBAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAGjD,sBAAY,GAAG,UAAU,CAAC,qBAAqB,CAAC;AAU/D,CAAC,EAtBgB,SAAS,KAAT,SAAS,QAsBzB;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,uBAAuB,CAAC;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;AAEhE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;IACzD,SAAS,EAAE,mBAAmB;IAC9B,aAAa,EAAE,uBAAuB;CACvC,CAAC,CAAC;AAEH,cAAc,gBAAgB,CAAC","sourcesContent":["import { createPermissionHook } from 'expo';\n\nimport ExpoMaps from './ExpoMaps';\nimport * as AppleTypes from './apple/AppleMaps.types';\nimport { AppleMapsView } from './apple/AppleMapsView';\nimport * as GoogleTypes from './google/GoogleMaps.types';\nimport { GoogleMapsView } from './google/GoogleMapsView';\nimport { GoogleStreetView } from './google/GoogleStreetView';\n\n/**\n * @hidden\n */\nexport namespace GoogleMaps {\n export const View = GoogleMapsView;\n export const StreetView = GoogleStreetView;\n\n export const MapType = GoogleTypes.GoogleMapsMapType;\n export type MapType = GoogleTypes.GoogleMapsMapType;\n\n export const MapColorScheme = GoogleTypes.GoogleMapsColorScheme;\n export type MapColorScheme = GoogleTypes.GoogleMapsColorScheme;\n\n export type Marker = GoogleTypes.GoogleMapsMarker;\n export type MapUISettings = GoogleTypes.GoogleMapsUISettings;\n export type MapProperties = GoogleTypes.GoogleMapsProperties;\n\n export type MapProps = GoogleTypes.GoogleMapsViewProps;\n export type MapView = GoogleTypes.GoogleMapsViewType;\n\n export type StreetViewProps = GoogleTypes.GoogleStreetViewProps;\n}\n\n/**\n * @hidden\n */\nexport namespace AppleMaps {\n export const View = AppleMapsView;\n\n export const MapType = AppleTypes.AppleMapsMapType;\n export type MapType = AppleTypes.AppleMapsMapType;\n\n export const MapStyleElevation = AppleTypes.AppleMapsMapStyleElevation;\n export type MapStyleElevation = AppleTypes.AppleMapsMapStyleElevation;\n\n export const MapColorScheme = AppleTypes.AppleMapsColorScheme;\n export type MapColorScheme = AppleTypes.AppleMapsColorScheme;\n\n export const ContourStyle = AppleTypes.AppleMapsContourStyle;\n export type ContourStyle = AppleTypes.AppleMapsContourStyle;\n\n export type Marker = AppleTypes.AppleMapsMarker;\n export type Annotation = AppleTypes.AppleMapsAnnotation;\n export type MapUISettings = AppleTypes.AppleMapsUISettings;\n export type MapProperties = AppleTypes.AppleMapsProperties;\n\n export type MapProps = AppleTypes.AppleMapsViewProps;\n export type MapView = AppleTypes.AppleMapsViewType;\n}\n\nexport const requestPermissionsAsync = ExpoMaps.requestPermissionsAsync;\nexport const getPermissionsAsync = ExpoMaps.getPermissionsAsync;\n\n/**\n * Check or request permissions to access the location.\n * This uses both `requestPermissionsAsync` and `getPermissionsAsync` to interact with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = useLocationPermissions();\n * ```\n */\nexport const useLocationPermissions = createPermissionHook({\n getMethod: getPermissionsAsync,\n requestMethod: requestPermissionsAsync,\n});\n\nexport * from './shared.types';\n"]}
@@ -1,4 +1,4 @@
1
- import type { PermissionResponse } from 'expo-modules-core';
1
+ import type { PermissionResponse } from 'expo';
2
2
  export type Coordinates = {
3
3
  /**
4
4
  * The latitude of the coordinate.
@@ -1 +1 @@
1
- {"version":3,"file":"shared.types.d.ts","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,uBAAuB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACvD;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACpD,CAAC"}
1
+ {"version":3,"file":"shared.types.d.ts","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE/C,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,uBAAuB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACvD;;;OAGG;IACH,mBAAmB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shared.types.js","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { PermissionResponse } from 'expo-modules-core';\n\nexport type Coordinates = {\n /**\n * The latitude of the coordinate.\n */\n latitude?: number;\n\n /**\n * The longitude of the coordinate.\n */\n longitude?: number;\n};\n\nexport type CameraPosition = {\n /**\n * The middle point of the camera.\n */\n coordinates?: Coordinates;\n\n /**\n * The zoom level of the camera.\n * For some view sizes, lower zoom levels might not be available.\n */\n zoom?: number;\n};\n\n/**\n * The event payload for the `onCameraMove` callback on `AppleMaps.View` and `GoogleMaps.View`.\n */\nexport type CameraMoveEvent = {\n /**\n * The coordinates of the camera center.\n */\n coordinates: Coordinates;\n\n /**\n * The zoom level of the camera.\n */\n zoom: number;\n\n /**\n * The tilt of the camera in degrees.\n */\n tilt: number;\n\n /**\n * The bearing of the camera in degrees.\n */\n bearing: number;\n\n /**\n * The height of the visible region in degrees of latitude\n */\n latitudeDelta: number;\n\n /**\n * The width of the visible region in degrees of longitude\n */\n longitudeDelta: number;\n};\n\n/**\n * @hidden\n */\nexport type MapsModule = {\n /**\n * Asks the user to grant permissions for location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n requestPermissionsAsync(): Promise<PermissionResponse>;\n /**\n * Checks user's permissions for accessing location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n getPermissionsAsync(): Promise<PermissionResponse>;\n};\n"]}
1
+ {"version":3,"file":"shared.types.js","sourceRoot":"","sources":["../src/shared.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { PermissionResponse } from 'expo';\n\nexport type Coordinates = {\n /**\n * The latitude of the coordinate.\n */\n latitude?: number;\n\n /**\n * The longitude of the coordinate.\n */\n longitude?: number;\n};\n\nexport type CameraPosition = {\n /**\n * The middle point of the camera.\n */\n coordinates?: Coordinates;\n\n /**\n * The zoom level of the camera.\n * For some view sizes, lower zoom levels might not be available.\n */\n zoom?: number;\n};\n\n/**\n * The event payload for the `onCameraMove` callback on `AppleMaps.View` and `GoogleMaps.View`.\n */\nexport type CameraMoveEvent = {\n /**\n * The coordinates of the camera center.\n */\n coordinates: Coordinates;\n\n /**\n * The zoom level of the camera.\n */\n zoom: number;\n\n /**\n * The tilt of the camera in degrees.\n */\n tilt: number;\n\n /**\n * The bearing of the camera in degrees.\n */\n bearing: number;\n\n /**\n * The height of the visible region in degrees of latitude\n */\n latitudeDelta: number;\n\n /**\n * The width of the visible region in degrees of longitude\n */\n longitudeDelta: number;\n};\n\n/**\n * @hidden\n */\nexport type MapsModule = {\n /**\n * Asks the user to grant permissions for location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n requestPermissionsAsync(): Promise<PermissionResponse>;\n /**\n * Checks user's permissions for accessing location.\n * @return A promise that fulfills with an object of type [`PermissionResponse`](#permissionresponse).\n */\n getPermissionsAsync(): Promise<PermissionResponse>;\n};\n"]}
@@ -13,7 +13,7 @@
13
13
  "publication": {
14
14
  "groupId": "host.exp.exponent",
15
15
  "artifactId": "expo.modules.maps",
16
- "version": "56.0.4",
16
+ "version": "56.0.6",
17
17
  "repository": "local-maven-repo"
18
18
  }
19
19
  }
@@ -0,0 +1 @@
1
+ 5bbc9e80ff12c23a0f13d67fba76210d0fcbb7c65ca1b30011e8c7568a9f81d5
@@ -0,0 +1 @@
1
+ c4235f34b409d34e1b8bcb0ff2d9af87831dc1d1790a542475d08ddb379b06484be771b495ca76551c900ccdf4bc2c34efaa2fe155f7da60b8fa8c9f1b311a2b
@@ -0,0 +1 @@
1
+ 3b26fde30758075f9fc2882632d17b36c240580b
@@ -0,0 +1 @@
1
+ 48afed6704ed75abe277fe72e18a6bba74b0d5d878dffa1bb9def2a31bdf052d
@@ -0,0 +1 @@
1
+ 1feeea1adcc6dfbc5815eea5ca2405ae99bc7c7b6f8a00476a0380c84468d40a9fa6c2f5411d54251202b0b2bc91d9df6733ffb2bac99962253a0c82b4115840
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.maps",
6
- "version": "56.0.4",
6
+ "version": "56.0.6",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.maps-56.0.4.aar",
28
- "url": "expo.modules.maps-56.0.4.aar",
29
- "size": 172848,
30
- "sha512": "b86a079a79485a7edb7c6604e7ca92f4eab4f17719b50d63ddf40508123df69064b76bafa045cd7a29721d86bf8b83ae81fbaaee8ff1fdc5c5494c49432a542f",
31
- "sha256": "33d6c0a44984b781dd09a6a03e3b65618f681a5eac3db21c43194ee619df8e39",
32
- "sha1": "430ee530f00d99d3d3c41a15f970ae61c7f2fbbb",
33
- "md5": "898533b0526f08ebca1b78f5d5eafa09"
27
+ "name": "expo.modules.maps-56.0.6.aar",
28
+ "url": "expo.modules.maps-56.0.6.aar",
29
+ "size": 173122,
30
+ "sha512": "1feeea1adcc6dfbc5815eea5ca2405ae99bc7c7b6f8a00476a0380c84468d40a9fa6c2f5411d54251202b0b2bc91d9df6733ffb2bac99962253a0c82b4115840",
31
+ "sha256": "48afed6704ed75abe277fe72e18a6bba74b0d5d878dffa1bb9def2a31bdf052d",
32
+ "sha1": "3b26fde30758075f9fc2882632d17b36c240580b",
33
+ "md5": "c187a696d00c8fc4729dff94a995dd44"
34
34
  }
35
35
  ]
36
36
  },
@@ -116,13 +116,13 @@
116
116
  ],
117
117
  "files": [
118
118
  {
119
- "name": "expo.modules.maps-56.0.4.aar",
120
- "url": "expo.modules.maps-56.0.4.aar",
121
- "size": 172848,
122
- "sha512": "b86a079a79485a7edb7c6604e7ca92f4eab4f17719b50d63ddf40508123df69064b76bafa045cd7a29721d86bf8b83ae81fbaaee8ff1fdc5c5494c49432a542f",
123
- "sha256": "33d6c0a44984b781dd09a6a03e3b65618f681a5eac3db21c43194ee619df8e39",
124
- "sha1": "430ee530f00d99d3d3c41a15f970ae61c7f2fbbb",
125
- "md5": "898533b0526f08ebca1b78f5d5eafa09"
119
+ "name": "expo.modules.maps-56.0.6.aar",
120
+ "url": "expo.modules.maps-56.0.6.aar",
121
+ "size": 173122,
122
+ "sha512": "1feeea1adcc6dfbc5815eea5ca2405ae99bc7c7b6f8a00476a0380c84468d40a9fa6c2f5411d54251202b0b2bc91d9df6733ffb2bac99962253a0c82b4115840",
123
+ "sha256": "48afed6704ed75abe277fe72e18a6bba74b0d5d878dffa1bb9def2a31bdf052d",
124
+ "sha1": "3b26fde30758075f9fc2882632d17b36c240580b",
125
+ "md5": "c187a696d00c8fc4729dff94a995dd44"
126
126
  }
127
127
  ]
128
128
  },
@@ -136,13 +136,13 @@
136
136
  },
137
137
  "files": [
138
138
  {
139
- "name": "expo.modules.maps-56.0.4-sources.jar",
140
- "url": "expo.modules.maps-56.0.4-sources.jar",
141
- "size": 9030,
142
- "sha512": "fbeff67660a8b0296cea875f00f50b4c021a025c9603620e74f5f92b76bc6a699cb8fc9a759c89fc4d463f02ae4204c0e409c3359805ca9c65ed037b7d698cc7",
143
- "sha256": "49bd7fff6c98140f0e4dad28e2d4e8a3325d0807357114dc56fc6678992d1969",
144
- "sha1": "9ffc424679488ba6ca1b9f1187a10c0d99f071c8",
145
- "md5": "11858bbe5490aadadef5519705059ab2"
139
+ "name": "expo.modules.maps-56.0.6-sources.jar",
140
+ "url": "expo.modules.maps-56.0.6-sources.jar",
141
+ "size": 9057,
142
+ "sha512": "c4235f34b409d34e1b8bcb0ff2d9af87831dc1d1790a542475d08ddb379b06484be771b495ca76551c900ccdf4bc2c34efaa2fe155f7da60b8fa8c9f1b311a2b",
143
+ "sha256": "5bbc9e80ff12c23a0f13d67fba76210d0fcbb7c65ca1b30011e8c7568a9f81d5",
144
+ "sha1": "c8e191e5b365d997316dd420d90607fe1e521313",
145
+ "md5": "8159473936105811e4ec528126fad590"
146
146
  }
147
147
  ]
148
148
  }
@@ -0,0 +1 @@
1
+ 75d95e21de57cf006e423d311c2da2ef336c639e499149a81578fe019d6b846c
@@ -0,0 +1 @@
1
+ e9a277830ce3519e9abd10c76c3561f9f72a47ca6d3f91043c6f8aac0dcfcf497df06492f3b3164e7fe3519b39af8efc8e44aed6a21e96adcdf34a3f2de40c3b
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.maps</artifactId>
12
- <version>56.0.4</version>
12
+ <version>56.0.6</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.maps</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 027062540470738b562655d21f5677025699bdde
@@ -0,0 +1 @@
1
+ 40dc19b5b34e6b638c50c0673ef7b96d6ba9d165c0d0953b0bb3d28f4f7cb376
@@ -0,0 +1 @@
1
+ dba290f3cd11c243ef2e18cc0fe57ea9097c28bf51adcf995badab8a977c4627adc1a60ed27d3f65109ef946ea7ae2b81c4234c940bc2514810642044f605dbe
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.maps</artifactId>
5
5
  <versioning>
6
- <latest>56.0.4</latest>
7
- <release>56.0.4</release>
6
+ <latest>56.0.6</latest>
7
+ <release>56.0.6</release>
8
8
  <versions>
9
- <version>56.0.4</version>
9
+ <version>56.0.6</version>
10
10
  </versions>
11
- <lastUpdated>20260511220216</lastUpdated>
11
+ <lastUpdated>20260521153951</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 42e6ed3c6f76e10669755f0d2617e99b
1
+ ecf05699ef438094d4a254e63811f09d
@@ -1 +1 @@
1
- 7c706077c902331198ee1c83c6fda05055563223
1
+ 3823a0d781b14e53c54ba6c64eef2e196511f13e
@@ -1 +1 @@
1
- 5e21f9209256e9bd17e0fffc150097f6f4adcdd12a3a96afe7cc3310f6c48777
1
+ cc56e7616edcce7ee979ae791f1dcc620b15f7f68d1c8cbd1145f73fb97c5220
@@ -1 +1 @@
1
- ae1b0031993ce41788d891a5a7594e7c8f4aa7af49fe6868dee675a90e766cde01cbdc628649687447bbc01d0b1bd65a4caa4ee81d7965f392cc912ca63eff4e
1
+ 3d3d647be664cf1d05f62a23056413e94c484e4fa2cee408208c023258545a0763744cca181743e6643d860547dd54533148cdeb8443f6659def0c6e3d4f0856
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-maps",
3
- "version": "56.0.4",
3
+ "version": "56.0.6",
4
4
  "description": "Provides a Map component that uses Google Maps on Android and Apple Maps on iOS.",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.14.0",
23
23
  "@types/react": "~19.2.0",
24
- "expo": "56.0.0-preview.8",
24
+ "expo": "56.0.3",
25
25
  "expo-module-scripts": "56.0.2"
26
26
  },
27
27
  "peerDependencies": {
@@ -29,7 +29,7 @@
29
29
  "react": "*",
30
30
  "react-native": "*"
31
31
  },
32
- "gitHead": "42013232893cb2aa71ab218e9b422d4a8476b3f0",
32
+ "gitHead": "125e8225bf36a4b9b2a159441d9ea724bcf1110f",
33
33
  "scripts": {
34
34
  "build": "expo-module build",
35
35
  "clean": "expo-module clean",
@@ -0,0 +1 @@
1
+ export { default } from './build';
package/plugin/index.js CHANGED
@@ -1 +1 @@
1
- export { default } from './build';
1
+ module.exports = require('./build');
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { createPermissionHook } from 'expo-modules-core';
1
+ import { createPermissionHook } from 'expo';
2
2
 
3
3
  import ExpoMaps from './ExpoMaps';
4
4
  import * as AppleTypes from './apple/AppleMaps.types';
@@ -1,4 +1,4 @@
1
- import type { PermissionResponse } from 'expo-modules-core';
1
+ import type { PermissionResponse } from 'expo';
2
2
 
3
3
  export type Coordinates = {
4
4
  /**
@@ -1 +0,0 @@
1
- 49bd7fff6c98140f0e4dad28e2d4e8a3325d0807357114dc56fc6678992d1969
@@ -1 +0,0 @@
1
- fbeff67660a8b0296cea875f00f50b4c021a025c9603620e74f5f92b76bc6a699cb8fc9a759c89fc4d463f02ae4204c0e409c3359805ca9c65ed037b7d698cc7
@@ -1 +0,0 @@
1
- 430ee530f00d99d3d3c41a15f970ae61c7f2fbbb
@@ -1 +0,0 @@
1
- 33d6c0a44984b781dd09a6a03e3b65618f681a5eac3db21c43194ee619df8e39
@@ -1 +0,0 @@
1
- b86a079a79485a7edb7c6604e7ca92f4eab4f17719b50d63ddf40508123df69064b76bafa045cd7a29721d86bf8b83ae81fbaaee8ff1fdc5c5494c49432a542f
@@ -1 +0,0 @@
1
- 3615c4f3f04b993352118a2556e3a81bc224d1ac
@@ -1 +0,0 @@
1
- 6f885cccde3badedcd723ebfcdb7b1b289fe239bba629df995c7117b30d15068
@@ -1 +0,0 @@
1
- 9da0800fc21a71a8cc4d11ed1c6657bd4440742a6bdf38c5a216862f19fedaf484c10b279a2116dd6dd9ec2aae0217d9c0030b8f21c5d0f3fcf59f430a18f24e
@@ -1 +0,0 @@
1
- 09464d1d005d1cb821fa02cef8eb0068d33c7aee
@@ -1 +0,0 @@
1
- 652b7d3a7c104fe51d72b4b98ec242823a0a267b108ca45531cc219a1406d95a
@@ -1 +0,0 @@
1
- 0590e379398793f263df71349c3ca499182d736f49c0cba68aaa6a8e4583e9e276f873056b14b20b859c50cde8f8ee99a45d4b86cba4c4cccfa9f3a342aa103d
@@ -1 +0,0 @@
1
- {"root":["./src/withmapslocation.ts"],"version":"5.9.2"}