tdlib / telegram-bot-api

Telegram Bot API server
https://core.telegram.org/bots
Boost Software License 1.0
3.06k stars 585 forks source link

Links to Telegram Mini App Not Functioning on Android (version 10.2.2) #493

Closed ilyalosinski closed 9 months ago

ilyalosinski commented 10 months ago

Environment: Telegram Android App Version 10.2.2

Issue: Clicking on Telegram Mini App links results in perpetual loading without the app opening.

Steps to Reproduce:

  1. Ensure usage of Telegram Android App version 10.2.2.
  2. Attempt to open Mini App links:
  3. Observe that the Mini App fails to launch and is stuck on the loading.

Note: The functionality is as expected on iOS devices; the issue is isolated to Android.

Expected Result: Mini App should open and be operational after the link is clicked.

Actual Result: Mini App does not open; the interface remains on the loading screen indefinitely.

Erfan-ksh commented 5 months ago

hey man can you tell me how you fixed this? I'm having the same problem

bySnach commented 5 months ago

@ilyalosinski, I have the same issue now, how to fix it, could you please help?

Tolianbus commented 5 months ago

как это исравить?

levlam commented 5 months ago

Do you have example of a link that doesn't work in Android app anymore?

Eunicewangombe commented 2 months ago

I have the same issue help me fix it

levlam commented 2 months ago

Do you have example of a link that doesn't work in Android app anymore?

Eunicewangombe commented 2 months ago

Wallet does not open ,memefi bot,hamster bot ,yescoin bot

On Thu, 6 Jun 2024, 11:53 pm Aliaksei Levin, @.***> wrote:

Do you have example of a link that doesn't work in Android app anymore?

— Reply to this email directly, view it on GitHub https://github.com/tdlib/telegram-bot-api/issues/493#issuecomment-2153390196, or unsubscribe https://github.com/notifications/unsubscribe-auth/BG5NN2AYF7SIWCMPZMBSBCLZGDD5PAVCNFSM6AAAAAA6342OYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGM4TAMJZGY . You are receiving this because you commented.Message ID: @.***>

Eunicewangombe commented 2 months ago

Blum bot

On Thu, 6 Jun 2024, 11:57 pm EUNICE WANG'OMBE, @.***> wrote:

Wallet does not open ,memefi bot,hamster bot ,yescoin bot

On Thu, 6 Jun 2024, 11:53 pm Aliaksei Levin, @.***> wrote:

Do you have example of a link that doesn't work in Android app anymore?

— Reply to this email directly, view it on GitHub https://github.com/tdlib/telegram-bot-api/issues/493#issuecomment-2153390196, or unsubscribe https://github.com/notifications/unsubscribe-auth/BG5NN2AYF7SIWCMPZMBSBCLZGDD5PAVCNFSM6AAAAAA6342OYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGM4TAMJZGY . You are receiving this because you commented.Message ID: @.***>

herald-of-hope commented 2 months ago

I have the same issue. Wallet isn't opening, Tapswap, hamster, Yescoin, etc aren't opening. The ones that open have display problems (Gleam) or lags (Dotcoin). Please how do I fix this?

fre2d0m commented 2 months ago

Why closed, I encountered the same problem. After setting up the Web App for Bot, and providing the webapp inlinekeyboard button in the /start command, it has been loading the interface after clicking.

Mehrabsyr commented 1 month ago

My phone is android 9 and mini apps and bot is not run How should i fix that??

fre2d0m commented 1 month ago

Why closed, I encountered the same problem. After setting up the Web App for Bot, and providing the webapp inlinekeyboard button in the /start command, it has been loading the interface after clicking.

Finally, I had to solve this problem through the exhaustion method:

  1. List all the types of links
  2. Let the bot output different link types and inline keyboard button types (URL, Web App)
  3. Get the following arrangement (pseudo-code):
[
    {
        "type": "url",
        "text": "Case 1(It works✅)",
        "url": "tg://resolve?domain=MyBot&appname=MyApp"
    },
    {
        "type": "web_app",
        "text": "Case 2 (Wrong URL❌)",
        "url": "tg://resolve?domain=MyBot&appname=MyApp"
    },
    {
        "type": "url",
        "text": "Case 3(Popup a Confirm, press to open,It's not what I want.❓)",
        "url": "https://t.me/MyBot/MyApp"
    },
    {
        "type": "web_app(Stay on the Loading page and can't enter the Web App😫)",
        "text": "Case 4",
        "url": "https://t.me/MyBot/MyApp"
    }
]
ho-dl commented 1 month ago

hey man can you tell me how you fixed this? I'm having the same problem

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡

ho-dl commented 1 month ago

My phone is android 9 and mini apps and bot is not run How should i fix that??

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡

ho-dl commented 1 month ago

Why closed, I encountered the same problem. After setting up the Web App for Bot, and providing the webapp inlinekeyboard button in the /start command, it has been loading the interface after clicking.

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

Wallet does not open ,memefi bot,hamster bot ,yescoin bot On Thu, 6 Jun 2024, 11:53 pm Aliaksei Levin, @.> wrote: Do you have example of a link that doesn't work in Android app anymore? — Reply to this email directly, view it on GitHub <#493 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BG5NN2AYF7SIWCMPZMBSBCLZGDD5PAVCNFSM6AAAAAA6342OYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGM4TAMJZGY . You are receiving this because you commented.Message ID: @.>

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

hey man can you tell me how you fixed this? I'm having the same problem

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

@ilyalosinski, I have the same issue now, how to fix it, could you please help?

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

как это исравить?

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

I have the same issue help me fix it

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

Environment: Telegram Android App Version 10.2.2

Issue: Clicking on Telegram Mini App links results in perpetual loading without the app opening.

Steps to Reproduce:

  1. Ensure usage of Telegram Android App version 10.2.2.
  2. Attempt to open Mini App links:

  3. Observe that the Mini App fails to launch and is stuck on the loading.

Note: The functionality is as expected on iOS devices; the issue is isolated to Android.

Expected Result: Mini App should open and be operational after the link is clicked.

Actual Result: Mini App does not open; the interface remains on the loading screen indefinitely.

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

ho-dl commented 1 month ago

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

fre2d0m commented 1 month ago

Why closed, I encountered the same problem. After setting up the Web App for Bot, and providing the webapp inlinekeyboard button in the /start command, it has been loading the interface after clicking.

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

Good job, But isn't it friendly to let users operate these?

ho-dl commented 1 month ago

Why closed, I encountered the same problem. After setting up the Web App for Bot, and providing the webapp inlinekeyboard button in the /start command, it has been loading the interface after clicking.

I know how to fix that problem 😁 1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser Thnk me later 🫡 100 % working

Good job, But isn't it friendly to let users operate these?

I have same issue , when ever i open any telegram mini app bots like hasmter compat, BLUM, it stuck on white or black screen , i tried so many way to fix this issue and finally i fix this issue using this method ( sorry for my bad English )

fre2d0m commented 1 month ago

Why closed, I encountered the same problem. After setting up the Web App for Bot, and providing the webapp inlinekeyboard button in the /start command, it has been loading the interface after clicking.

I know how to fix that problem 😁 1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser Thnk me later 🫡 100 % working

Good job, But isn't it friendly to let users operate these?

I have same issue , when ever i open any telegram mini app bots like hasmter compat, BLUM, it stuck on white or black screen , i tried so many way to fix this issue and finally i fix this issue using this method ( sorry for my bad English )

It seems that it should be a defect of telegram itself. The problem I encountered is that the web app developed by myself cannot be opened normally, and users cannot open it normally, but other web apps can.

VanThuan76 commented 1 week ago

I know how to fix that problem 😁

1 : update your google chrome browser 2: clear cache of your telegram app 3: clear cache of your updated chrome browser

Thnk me later 🫡 100 % working

I think it's not totally true because I tried to test again and again on a new android device. Maybe it's in the source code which is launched SDK telegram but I cannot fix it