apache / cordova-plugin-inappbrowser

Apache Cordova InAppBrowser Plugin
https://cordova.apache.org/
Apache License 2.0
1.12k stars 2.15k forks source link

tg:resolve?domain=specificId net:err_unknown_url_scheme #820

Open JeongJun-Lee opened 3 years ago

JeongJun-Lee commented 3 years ago

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

chrissii89 commented 3 years ago

828

Krishnaiahb commented 3 years ago

Hey

Halimamohammed commented 3 years ago

Good

itsaws29 commented 2 years ago

how to solve this bro,

atomoc commented 1 year ago

yes, why is the issue closed? Nothing is clear!

breautek commented 1 year ago

yes, why is the issue closed? Nothing is clear!

The issue is not closed.

temirfe commented 1 year ago

change protocol to tg, instead of 'https://t.me/' + this.telegramId do this 'tg://t.me/' + this.telegramId