[Feature]: how to expand mini app after open
fukemy opened this issue · comments
fukemy commented
Is your feature request related to a problem? Please describe.
Yes, the mini app open in halfscreen instead of fullscreen
Describe the solution you'd like
I want to open in fullscreen state
Describe alternatives you've considered
I saw web_app_expand
method but I do not know how to use it
Additional context
No response
HieuTVGCH200824 commented
This can be achieved with Viewport
https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk/components/viewport#viewport
fukemy commented
worked like charms! Thanks