tdlib / telegram-bot-api

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

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

Closed ilyalosinski closed 1 year ago

ilyalosinski commented 1 year 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 8 months ago

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

bySnach commented 8 months ago

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

Tolianbus commented 8 months ago

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

levlam commented 8 months ago

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

Eunicewangombe commented 5 months ago

I have the same issue help me fix it

levlam commented 5 months ago

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

Eunicewangombe commented 5 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 5 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: @.***>

a-n-irwin commented 5 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 5 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 5 months ago

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

fre2d0m commented 5 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.

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 4 months 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 4 months 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 4 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.

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 4 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 <#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 4 months 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 4 months 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 4 months 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 4 months 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 4 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.

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 4 months 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 4 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.

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 4 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.

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 4 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.

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 3 months 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

BigBossMontero commented 2 months ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

Judasisc commented 1 month ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

Pls have you solved this issue? I'm desperate 😞

fre2d0m commented 1 month ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

Pls have you solved this issue? I'm desperate 😞

...
{
    "type": "url",
    "text": "Case 1(It works✅)",
    "url": "tg://resolve?domain=MyBot&appname=MyApp"
}
...

I understand that it is impossible for users to clean the cache, which is a problem that developers need to try to solve. Have you tried this original tg mini app link? I never encountered the problem of blank screen again.

Judasisc commented 1 month ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

Pls have you solved this issue? I'm desperate 😞

...
{
    "type": "url",
    "text": "Case 1(It works✅)",
    "url": "tg://resolve?domain=MyBot&appname=MyApp"
}
...

I understand that it is impossible for users to clean the cache, which is a problem that developers need to try to solve. Have you tried this original tg mini app link? I never encountered the problem of blank screen again.

MyApp right? Well, when I click the start button, it just stops there. Nothing happens. 😞 Screenshot_20241006-150211_Telegram

fre2d0m commented 1 month ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

Pls have you solved this issue? I'm desperate 😞


...

{

    "type": "url",

    "text": "Case 1(It works✅)",

    "url": "tg://resolve?domain=MyBot&appname=MyApp"

}

...

I understand that it is impossible for users to clean the cache, which is a problem that developers need to try to solve. Have you tried this original tg mini app link? I never encountered the problem of blank screen again.

MyApp right?

Well, when I click the start button, it just stops there. Nothing happens. 😞

Screenshot_20241006-150211_Telegram

Change MyApp and MyBot to your actual Bot name and App name

Judasisc commented 1 month ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

Pls have you solved this issue? I'm desperate 😞

...

{

"type": "url",
"text": "Case 1(It works✅)",
"url": "tg://resolve?domain=MyBot&appname=MyApp"

}

...

I understand that it is impossible for users to clean the cache, which is a problem that developers need to try to solve. Have you tried this original tg mini app link? I never encountered the problem of blank screen again.

MyApp right? Well, when I click the start button, it just stops there. Nothing happens. 😞 Screenshot_20241006-150211_Telegram

Change MyApp and MyBot to your actual Bot name and App name

I honestly appreciate that you for trying help, but I'm so, so lost right now. And do not, in any way understand the procedures you're trying to fill me in on. I can't access any mini app on telegram for thirty hours now even after cache and Data clearing, uninstallation and reinstallation, chrome browser updating... Everything I've seen on the internet, I've done. Guess I'm pretty desperate at this point. But I appreciate once more for trying to help.

Edwardboy16 commented 1 month ago

Please anyone who knows how to fix this should tell me.. All mini apps are showing blank screen those that are able to show would be stuck loading still.. I've tried clearing the cache and e.t.c but its still same thing

I am also having this issue and I can't load my mini apps. Please any solution to this issue

Edwardboy16 commented 1 month ago

Screenshot_20241031-092057 Everyone who is having this problem on Android should update this app on playstore. It will permanently fix it.

jossycodes commented 1 week ago

Having the same issue... I've tried updating, installing and reinstalling the telegram app still doesn't work but when I open the telegram wallet I get this error message

net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Anybody have any solutions to this