ChromeXt icon indicating copy to clipboard operation
ChromeXt copied to clipboard

Feature request: Add support for telegram bot web apps

Open Talisman9964 opened this issue 1 year ago • 3 comments

Would be awesome if i was able to inspect my telegram bot web apps on mobile directly in telegram . If possible please add support for telegram web apps webview to chromext . I am not sure if telegram android uses the system webview or not but it seems like it does

Talisman9964 avatar Jun 04 '24 04:06 Talisman9964

If you cannot do it with Chrome on desktops, then you cannot do it with ChromeXt. Telegram bots codes are mostly server side, not executed inside your client browsers.

JingMatrix avatar Jun 04 '24 05:06 JingMatrix

If you cannot do it with Chrome on desktops, then you cannot do it with ChromeXt. Telegram bots codes are mostly server side, not executed inside your client browsers.

Indeed , usually telegram bots are server side applications but nowadays bots can launch a webview with a web ui for better user experience , and yes we can debug them using chrome devtools on desktop . You can find more info on https://core.telegram.org/bots/webapps#debug-mode-for-mini-apps .

telegram also has a demo web app called @durgerking

Talisman9964 avatar Jun 04 '24 07:06 Talisman9964

Thank you for the information. You may provide more if you proceed to investigate this issue, which would be great. In ChromeXt, there is more or less re-implement of WebSocket messaging. See https://github.com/JingMatrix/ChromeXt/tree/master/app/src/main/java/org/matrix/chromext/devtools

Moreover, the front-end of ChromeXt deliberately ignore debug sessions for service-workers, which might cause the issue.

JingMatrix avatar Jun 04 '24 09:06 JingMatrix

@Talisman9964 were you able to find a solution?

Tanzin01 avatar Nov 02 '24 05:11 Tanzin01

Now I understand the issue context better. It seems not possible to open multiple tab for the Android Telegram app, hence there will be UI for devtools to show while using an Web app. Therefore, what you asked is impossible.

JingMatrix avatar Jan 21 '25 16:01 JingMatrix