MetaMask / MetaMask/metamask-mobile

Can not open another app use scheme url from Metamask Ios browser

Open
#3,333 2 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**
I can not open another app (I use Telegram app for example) by using Scheme Url from Metamask iOS browser
I use this code to open Telegram app:
html code: Open telegram
or javascript code: location.href = "tg://";
This code worked on Safari iOS , Chrome iOS , event Metamask Browser on Android. But not worked on Metamask Browser on iOS

**To Reproduce**
1. Open Metamask app on iOS device (iPhone), switch to Browser
2. Open a Dapp in a new tab
3. In Dapp, open another app by scheme url. Ex: Open Telegram by html tag: Open telegram
4. Nothing happened

**Expected behavior**
Open app Telegram when call redirect to Telegram scheme url in step 3.

**Smartphone (please complete the following information):**
- Device: iPhone 6s
- OS: iOS 15.2
- App Version 3.4.1 (785)

-------------------------------------------------------------
_to be added after bug submission by internal support / PM_
**Severity**

- How critical is the impact of this bug on a user?
- Add stats if available on % of customers impacted
- Is this visible to all users?
- Is this tech debt?

Contributor guide

Open the contributing guide

Research direction

No implementation file, test, or entry point is named. First reproduce the scheme-URL link in the MetaMask iOS browser on the reported iPhone/iOS setup, then trace the browser's external-app URL handling; done means a tg:// link opens Telegram as it does in Safari and Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.