apache / apache/cordova-plugin-inappbrowser

Bad url override

Open
#434 2 comments 0 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

When the url to load starts with _https://_ but without _www_ or something like that the plugin makes a wrong override, for example this url from firebase for dynamic links: _https://myawesome.app.link/_, when this url is loaded the browser show a error message net::ERR_UNKNOWN_URL_SCHEME. looking the navigation bar the url appears like this: _http://intent://myawesome.app.link/_, however if I set the property __system_ works perfectly because its opens in a external browser.

I don't know why it changed from _https://_ to _http://intent_, I tried with another url like _www.google.com_ and works nice.

### Environment, Platform, Device

ionic
android

## 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

Reproduce the issue in an Ionic Android app using the Firebase-style https://myawesome.app.link/ URL, then trace the plugin's Android navigation and URL override handling. Done means the HTTPS URL is not rewritten to a malformed http://intent:// URL and loads successfully in the in-app browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.