TelegramMessenger / TelegramMessenger/Telegram-iOS

When opening links from chats in the in-app iOS browser, there is a problem with link processing for Telergam tg://

Open
#217 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Problem:

  1. You open a link to a site in the Telergam iOS client in the in-app browser mode
  2. The page you are viewing has a link for telegrams, for example tg://msg_url?url=https%3A%2F%2Fgoogle.com%2F
  3. By clicking on this link by the user, visually, nothing happens
  4. But Telegram receives this command and opens the forwarding window under the in-app browser, but the user does not see this.
  5. Moreover, user may clicks multiple times on the link because the user receives no response from the first click (the forwarding windows opens under the in-app browser, user cannot see them), and when the user closes the in-app browser using the "Don" button, he will find lots of forwarding dialogs and he will have to close them, which is inconvenient and annoying.

Possible Solution:

Upon receipt of the internal command, Telegram should close the in-app browser.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the tg://msg_url flow in Telegram's in-app iOS browser, then trace where internal tg:// commands are handled. Verify that receiving the command closes the in-app browser and prevents hidden forwarding dialogs from accumulating.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.