14.8 C
New York
Saturday, March 22, 2025

ios – Flutter HERE maps here_sdk not loading map. White display solely. Occurs in all apps, INCLUDING their OFFICIAL here_map_app instance


Challenge

Utilizing the Flutter here_sdk would not work. Particularly, the HERE hello_map_app instance solely exhibits a white display when loading.

I’m utilizing the Discover here_sdk. Right here is the highest of its pubspec.yaml:

title: here_sdk
description: HERE SDK for Flutter
model: 4.21.5
homepage: https://right here.com

I’ve adopted these Getting Began steps meticulously, together with making certain my API keys are appropriate (I do not get any incorrect credential errors when loading the app).

simulator screenshot

My System

Flutter/Dart variations:

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

Growth machine:

M1 Macbook Professional 2021, macOS Sequoia 15.1.1

Ran on gadgets (examined with debug, profile, and launch by way of Flutter run ... and XCode’s GUI):

- iOS simulator operating iOS 17.5; and
- bodily iPhone 15 operating iOS 18.3.2.

Error Logs

These are proven after I run it on my iOS simulator by way of XCode:

[INFO ] Threading - Platform threading is initialized.
[INFO ] ApplicationUtilsInitializer - HERESDK Model 4.21.5
[INFO ] ConnectivityStatusNotifier - Community is reachable
FlutterView implements focusItemsInRect: - caching for linear focus motion is proscribed so long as this view is on display.
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 - Beginning thread 'OLPSDKPOOL_0'
13:25:52.079 [INFO] ThreadPoolTaskScheduler - Beginning thread 'OLPSDKPOOL_1'
13:25:52.079 [INFO] ThreadPoolTaskScheduler - Beginning thread 'OLPSDKPOOL_0'
13:25:52.079 [INFO] ThreadPoolTaskScheduler - Beginning thread 'OLPSDKPOOL_1'
[INFO ] hsdk-SDKNativeEngineImpl - Creation
[INFO ] hsdk-OfflineAwareNetwork - Modified to OfflineMode=0 AllowedUrls=
[INFO ] hsdk-OfflineAwareNetwork - Modified to OfflineMode=0 AllowedUrls=
[ERROR] hsdk-initializeOptional - class ConsentInitializer not discovered
[ERROR] hsdk-initializeOptional - class LocationInitializer not discovered

My Concepts

Be aware

This additionally occurs in any Flutter undertaking I make, however I am utilizing the official HERE hello_map_app instance so its reproducible.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles