apache / apache/cordova-plugin-inappbrowser

tg:resolve?domain=specificId net:err_unknown_url_scheme

Open
#820 8 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Problem

### What is expected to happen?
Telegram messenger should be opened normally on Android

### What does actually happen?
At first, "https://t.me/telegramId" will be opened by new WebView and then,
without opening Telegram Native App, following errors comes out on the WebView:
tg:resolve?domain=telegramId net:err_unknown_url_scheme

## Information

### Command or Code

```
this.inAppBrowser.create(
'https://t.me/' + this.telegramId,
'_blank'
);

```

### Environment, Platform, Device

Real Android device

### Version information

cordova-plugin-inappbrowser": "^4.0.0
Android Chrome: 87.0.4280.66
Android version: 9

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Start by reproducing this.inAppBrowser.create('https://t.me/' + this.telegramId, '_blank') on a real Android device using Android 9, Chrome 87, and cordova-plugin-inappbrowser 4.0.0. Trace how the Android InAppBrowser handles the t.me redirect and tg:resolve URL. Done means the Telegram native app opens normally without the WebView showing net::err_unknown_url_scheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, javascript
Domain
mobile
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.