Hi everyone,
I’m looking to build a mobile app that uses CesiumJS for the main 3D globe view. My primary target is Android, but I’d really prefer to use a cross-platform framework like React Native or Flutter to support iOS as well, as long as the performance is good.
My first idea was to build a native Android app in Kotlin and just run CesiumJS inside a WebView. But before I dive in, I wanted to ask the community for some advice.
I’m hoping you can help me with a few questions:
-
What have you used to build a mobile app with CesiumJS? (e.g., native with WebView, React Native, Flutter, etc.) and how did it go?
-
If you used a WebView, how was the performance in the real world? Was it laggy? Did you have any trouble with high memory usage or making the touch controls feel smooth and responsive?
-
Is there a better way to get good performance on mobile besides using a WebView?
-
Are there any common problems or tips I should know about? For example, anything related to handling offline maps, battery drain, or loading assets on a mobile device?
Any advice you could share would be a huge help.
Thanks!