iosflutterhere-apiheremaps

Flutter HERE maps here_sdk not loading map. White screen only. Happens in all apps, INCLUDING their OFFICIAL here_map_app example


Issue

Using the Flutter here_sdk doesn't work. Specifically, the HERE hello_map_app example only shows a white screen when loading.

I am using the Explore here_sdk. Here is the top of its pubspec.yaml:

name: here_sdk
description: HERE SDK for Flutter
version: 4.21.5
homepage: https://here.com

I've followed these Getting Started steps meticulously, including ensuring my API keys are correct (I don't get any incorrect credential errors when loading the app).

simulator screenshot

My System

Flutter/Dart versions:

Flutter 3.29.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c236373904 (9 days ago) • 2025-03-13 16:17:06 -0400
Engine • revision 18b71d647a
Tools • Dart 3.7.2 • DevTools 2.42.3

Development machine:

M1 Macbook Pro 2021, macOS Sequoia 15.1.1

Ran on devices (tested with debug, profile, and release via Flutter run ... and XCode's GUI):

- iOS simulator running iOS 17.5; and
- physical iPhone 15 running iOS 18.3.2.

Error Logs

These are shown when I run it on my iOS simulator via XCode:

[INFO ] Threading - Platform threading is initialized.
[INFO ] ApplicationUtilsInitializer - HERESDK Version 4.21.5
[INFO ] ConnectivityStatusNotifier - Network is reachable
FlutterView implements focusItemsInRect: - caching for linear focus movement is limited as long as this view is on screen.
flutter: The Dart VM service is listening on http://127.0.0.1:55450/ahlySVd0qx8=/
[INFO ] LockingProcess - Neither cache nor persistent map storage is locked
13:25:52.078 [INFO] ThreadPoolTaskScheduler - Starting thread 'OLPSDKPOOL_0'
13:25:52.079 [INFO] ThreadPoolTaskScheduler - Starting thread 'OLPSDKPOOL_1'
13:25:52.079 [INFO] ThreadPoolTaskScheduler - Starting thread 'OLPSDKPOOL_0'
13:25:52.079 [INFO] ThreadPoolTaskScheduler - Starting thread 'OLPSDKPOOL_1'
[INFO ] hsdk-SDKNativeEngineImpl - Creation
[INFO ] hsdk-OfflineAwareNetwork - Changed to OfflineMode=0 AllowedUrls=
[INFO ] hsdk-OfflineAwareNetwork - Changed to OfflineMode=0 AllowedUrls=
[ERROR] hsdk-initializeOptional - class ConsentInitializer not found
[ERROR] hsdk-initializeOptional - class LocationInitializer not found

My Ideas

Note

This also happens in any Flutter project I make, but I'm using the official HERE hello_map_app example so its reproducible.


Solution

  • here_sdk doesn't seem to support Flutter 3.29 yet.