Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
### Fixed
### Changed

- Fixed a crash triggered under some circumstances when handling internal WebView messages.
In some cases, the widget could receive events from the underlying WebView after being unmounted,
causing a null check operator used on a null value exception inside setState().
The logic has been updated to ensure that message handling is skipped when the widget is no longer
mounted, preventing this crash.
- Updated the selectFloor method so it now receives a String identifier instead of an Int, ensuring
consistent API design across all methods.

- Refactored the example app to be more granular and easier to understand.
Added MapViewControllerHolder, a small utility that demonstrates a common use case: triggering
actions such as selecting a POI or starting navigation from outside the map screen (e.g., from a
list or a notification). Since the MapViewController is only available once the MapView has fully
loaded, this helper provides a simple, awaitable ensureMapViewController() method—powered by a
Dart Completer—that resolves automatically when the controller becomes ready.
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PODS:
- Flutter (1.0.0)
- Protobuf (3.29.5)
- situm_flutter (3.27.8):
- situm_flutter (3.27.13):
- Flutter
- SitumSDK (~> 3.34.8)
- SitumSDK (3.34.8):
- SitumSDK (~> 3.34.10)
- SitumSDK (3.34.10):
- Protobuf (~> 3.18)
- SSZipArchive (~> 2.4)
- SSZipArchive (2.4.3)
Expand Down Expand Up @@ -33,8 +33,8 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
Protobuf: 164aea2ae380c3951abdc3e195220c01d17400e0
situm_flutter: 1130d47443153c820419a6475cad896343de3d63
SitumSDK: cf3b15459133daf53d02c6ffba3a144895fd17a9
situm_flutter: 801b81140afdf8ee88603b001f01853e946b71ee
SitumSDK: de58cad6f48b83451f820452e57f1586ab8b9d2a
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
webview_flutter_wkwebview: 4f3e50f7273d31e5500066ed267e3ae4309c5ae4

Expand Down
Loading