@mapsindoors/react-native-maps-indoors-mapbox 2.9.0 → 2.9.1

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/README.md CHANGED
@@ -2,11 +2,45 @@
2
2
 
3
3
  ## Documentation
4
4
 
5
- Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.9.0/index.html) to get an overview of what the MapsIndoors SDK offers.
5
+ Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.9.1/index.html) to get an overview of what the MapsIndoors SDK offers.
6
6
 
7
7
  ## Changelog
8
8
 
9
- ### [2.9.0] - 2026-09-17
9
+ ### [2.9.1] - 2026-10-15
10
+
11
+ #### Changed
12
+
13
+ - `MPRouteStopIconConfig.getImage()` returns a string instead of a `URL`, and a custom
14
+ `RouteStopIconConfig.getImage()` may return either
15
+ - Updated the MapsIndoors Android and iOS SDKs to 4.23.0
16
+ - On iOS, camera moves the SDK makes for you (`goTo`, selecting with `moveCamera`, filter, highlight
17
+ and route fits) are instant when the system's Reduce Motion setting is on
18
+ - On Android, with a custom floor selector that turns automatic floor changes off, `goTo`,
19
+ `selectLocation`, `setFilter` and `setHighlight` keep the current floor
20
+ - On iOS, `MapControl` and `MPDirectionsRenderer` promises settle once the map has applied the call,
21
+ not before
22
+ - On iOS, the `MapControl.getCurrent*` getters and `isFloorSelectorHidden` resolve `null` when there
23
+ is no map control, instead of crashing
24
+ - On iOS, `MPDirectionsRenderer.setRoute` and `setDefaultRouteStopIcon` reject when a URL icon fails
25
+ to download, instead of never settling
26
+
27
+ #### Fixed
28
+
29
+ - `MPDirectionsRenderer.setDefaultRouteStopIcon` and `setRoute` rejected an `MPRouteStopIconConfig`
30
+ stop icon with "Invalid URL" on React Native versions with a standards-compliant `URL`, such as
31
+ Expo 55, so the icon never reached the map. Labels containing `?` or `#` now work too
32
+ - Setting `MapControl.showUserPosition` no longer crashes the app on iOS. The iOS SDK now accepts
33
+ the call from React Native's module thread, where 4.20.0 required the main thread
34
+ - `MapControl` and `MPDirectionsRenderer` calls no longer crash the app on iOS. They now reach the map
35
+ on the main thread, in the order they were made
36
+ - `MPDirectionsRenderer.setRoute` and `setDefaultRouteStopIcon` with URL icons no longer overwrite a
37
+ later `setRoute`, `clear` or `setDefaultRouteStopIcon` when their download finishes last
38
+ - The published package no longer contains the core unit tests (`src/core/__tests__`)
39
+ - `MPCameraPosition.create` no longer swaps tilt and bearing, so reading the camera with
40
+ `getCurrentCameraPosition` and passing the result back to `animateCamera` keeps the map's pitch
41
+ and rotation
42
+
43
+ ### [2.9.0] - 2026-09-18
10
44
 
11
45
  #### Added
12
46
 
@@ -106,7 +106,7 @@ dependencies {
106
106
  }
107
107
 
108
108
  implementation 'com.mapbox.maps:android-ndk27:11.16.1'
109
- implementation 'com.mapspeople.mapsindoors:mapbox-ndk27:4.22.0'
109
+ implementation 'com.mapspeople.mapsindoors:mapbox-ndk27:4.23.0'
110
110
  implementation 'com.facebook.react:react-native:+' // From node_modules
111
111
  implementation 'androidx.core:core-ktx:1.3.2'
112
112
  implementation 'com.github.bumptech.glide:glide:4.16.0'