1

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

  • I've already went through every Debugging and Troubleshooting step from their guide. Nothing works.
  • I am quite certain my API keys are correct.
  • I wonder if it could be these lines from the logs causing the error? But they say they're optional...
    [ERROR] hsdk-initializeOptional - class ConsentInitializer not found
    [ERROR] hsdk-initializeOptional - class LocationInitializer not found
    

Note

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

1 Answer 1

2

here_sdk doesn't seem to support Flutter 3.29 yet.

Sign up to request clarification or add additional context in comments.

1 Comment

Specifically ONLY Flutter version 3.27.0 seemed to fix this. I had tried other versions that should've been supported via their docs earlier, but none worked. Just 3.27.0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.