We have new use case and problem. When the application returns from the background, there is a empty screen instead of the map.
More info:
We are using IndexedStack to show the map and other tabs This error occurs on both android and ios In every 'resumed' we are setting this:
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
super.didChangeAppLifecycleState(state);
switch (state) {
case AppLifecycleState.resumed:
final brightness = WidgetsBinding.instance.window.platformBrightness;
final hereMapScheme = widget._mapSchemeFormatter.format(mapSchemeUiModel, brightness);
_hereMapController.mapScene.loadSceneForMapScheme(hereMapScheme, (p0) { });
break;
(...)
}
}
System info:
- HERE SDK for Flutter (version: 4.12.7)
- Flutter version: 3.3.4
Newest system info:
- HERE SDK for Flutter (version: 4.13.2)
- Flutter version: 3.3.9
Device:
- Samsung Galaxy S9+
Steps to reproduce:
Open app -> map is OK Put app into background, without it being killed by the system Resume the app after a while (~20 min) Behaviour:
I couldn't find a pattern yet as to how long the app needs to be in the background or how much load the device needs to be under (I think it is more likely to happen if the app stays in the background for a longer time). The map works in foreground and after a short background.