You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access a mini app from the main screen, where all chats are displayed.
Use the mini app @office_app_bot to send a receipt to any chat (we use the Telegram.WebApp.switchInlineQuery method).
Attempt to return to the previous screen after sending the receipt.
Expected Behavior:
When returning from the mini app, Telegram should redirect the user to the main screen with all chats.
Actual Behavior:
Telegram closes completely, assuming the user is already on the main screen, and tries to navigate "back," which results in the app shutting down. The issue persists until Telegram is removed from the recent apps list and reopened. However, if the same actions are performed by opening the mini app from the bot's main page or from the bot's chat, this issue does not occur.
Operating System:
The issue was reproduced on Android and iOS, across all recent versions.
Version of Telegram App:
The issue was reproduced on Android and iOS, across all recent versions where mini app launching from the main chat screen was introduced.
Crash ID:
Not applicable.
Logs:
Not applicable.
Additional Details:
The issue occurs because the mini app was accessed from the main screen with all chats. Telegram tries to navigate back, but in this case, the "previous screen" is the app's main screen, causing the crash. However, if the mini app is opened from the bot's main page or the bot's chat, this issue does not occur.
Suggested Solution: Add a setting to ensure that when a Telegram chat is triggered from a mini app, the user is redirected to the main chat screen upon exiting the mini app.
The video first demonstrates accessing the mini app from the main screen with chats, where the issue occurs. It then shows that everything works correctly when accessing the mini app from the bot's main page or the bot's chat.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
Expected Behavior:
When returning from the mini app, Telegram should redirect the user to the main screen with all chats.
Actual Behavior:
Telegram closes completely, assuming the user is already on the main screen, and tries to navigate "back," which results in the app shutting down. The issue persists until Telegram is removed from the recent apps list and reopened. However, if the same actions are performed by opening the mini app from the bot's main page or from the bot's chat, this issue does not occur.
Operating System:
The issue was reproduced on Android and iOS, across all recent versions.
Version of Telegram App:
The issue was reproduced on Android and iOS, across all recent versions where mini app launching from the main chat screen was introduced.
Crash ID:
Not applicable.
Logs:
Not applicable.
Additional Details:
The issue occurs because the mini app was accessed from the main screen with all chats. Telegram tries to navigate back, but in this case, the "previous screen" is the app's main screen, causing the crash. However, if the mini app is opened from the bot's main page or the bot's chat, this issue does not occur.
Suggested Solution: Add a setting to ensure that when a Telegram chat is triggered from a mini app, the user is redirected to the main chat screen upon exiting the mini app.
Video Demonstration:
https://drive.google.com/file/d/1MG1RYc36QVCLRIbEXFVo4hnZAEaohKrm/view?usp=drive_link
The video first demonstrates accessing the mini app from the main screen with chats, where the issue occurs. It then shows that everything works correctly when accessing the mini app from the bot's main page or the bot's chat.
The text was updated successfully, but these errors were encountered: