Hi everyone,
I’m currently struggling with a rather tricky issue while developing a mobile game.
The app itself is built with the Flutter framework, but the main game content runs inside an embedded WebView. The web portion is developed using Vue.js 3 and Phaser.js 4, running on a WebGL 1 context.
Here’s the problem: the game lags noticeably — but only on certain Samsung devices.
Ironically, this happens on flagship models such as the Samsung Galaxy S24+ and S23+, while lower-end devices like the Galaxy A05s or Galaxy Tab A9 run completely smoothly. The same game also performs perfectly on other manufacturers’ devices, such as Pixel 6, Pixel 9, and iPhone 12/13/14 Pro Max.
All devices have identical system versions:
-
One UI 7.0
-
Android 15
-
Android System WebView 140.0.7339.207
So, I’d really appreciate any help or insights regarding the following points:
-
Are there any known issues affecting JavaScript or WebGL performance specifically on Samsung’s S+ or Ultra variants in the EU market? If so, what are the possible workarounds or mitigations?
-
Are there any better debugging tools for Samsung devices than Chrome DevTools?
The challenge is that since this issue only appears on specific devices, I can’t identify a clear performance bottleneck — draw calls are low (around 20), memory snapshots show about 300 MB usage, etc.
Ideally, I’d need a profiling or tracing tool that can show me which process or JavaScript section is causing the slowdown.
Thanks a lot for any suggestions or experiences you can share.
Best regards,
Dominik