Hi everyone,
I’m trying to integrate CesiumJS inside a Flutter WebView for a mobile application.
However, the Cesium globe doesn’t load — the WebView just shows a blank screen (no globe, no tiles).
Here’s what I’ve tried so far:
-
Added
index.html
with Cesium scripts in Flutterassets/
. -
Set WebView to allow JavaScript (
javascriptMode: JavascriptMode.unrestricted
). -
Confirmed that
window.CESIUM_ION_TOKEN
is correctly set. -
Works fine on desktop browsers but not inside Flutter WebView (Android).
Has anyone faced this issue or found a workaround to make CesiumJS load inside a Flutter WebView?
Any help or example setup would be greatly appreciated!
Thanks in advance