Closed lxiiiixi closed 2 months ago
Yesterday I also heard about this problem on Android. I assume, Telegram team released an update which broke some of the TMA functionality in Android.
Which version of the package do you use?
I am using version ^1.0.0 of @telegram-apps/sdk-react, and my Telegram version is Android v11.0.1 (5176), with the tgWebAppVersion parameter set at 7.8.
A possible reason could be the Telegram application not responding to the viewport_changed
event. Could you try commenting all code connected with useViewport
and try again? Also check if you are not using the current SDK along with the Telegram SDK
A possible reason could be the Telegram application not responding to the
viewport_changed
event. Could you try commenting all code connected withuseViewport
and try again? Also check if you are not using the current SDK along with the Telegram SDK
I removed the features related to useViewport, and the problem hasn't occurred again. Thank you, at least this can temporarily solve my issue.
We should wait for Telegram to fix their own bug, unfortunately
Telegram Application
Telegram for Android
Describe the Bug
This error occurs as soon as I open the Telegram mini app. And some people frequently encounter this error, while others have never experienced it.
To Reproduce
As soon as I open the Telegram mini app
Expected Behavior
I don't know why this error occurs; I didn't expect it to happen.