You will see throttling on android low-end device. And FPS drop to 40 fps while using Google Chrome it runs on 60 FPS.
UPD:
After tests using Android WebView Test the only case when fps drop appears is when setLayerType is set to LAYER_TYPE_SOFTWARE.
In LAYER_TYPE_HARDWARE fps is 60. Assuming it's a bug of Telegram Android Client.
UPD2:
When using In-app browser on same device fps is 58+. Once in-app browser is disabled in chat settings it normally opens Chrome with 60+ fps.
But in mini-app it has still 30-40+ FPS
Seems like MiniApp view creates some overhead that decreases FPS
Probably hardware acceleration flag is not set. Please add it in WebView if so.
Solovev
+++
Карл Маркс
+
HatrexX
+++++
Don🏎️ Patron 🥷
+
R S
P L U S
Polkovnik
+++
Dmitry Burn
+
Макс
After tests using Android WebView Test the only case when fps drop appears is when setLayerType is set to LAYER_TYPE_SOFTWARE. In LAYER_TYPE_HARDWARE fps is 60.
In LAYER_TYPE_HARDWARE fps is 60.