apache / apache/cordova-plugin-inappbrowser

target _blank sometimes open in system's web browser

Open
#446 5 comments 0 reactions 0 assignees View on GitHub
platform: android support
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?
website need to open in InAppBrowser

### What does actually happen?
sometimes it is open in system's web browser

## Information

Even i have set the target as '_blank' website sometimes open in system's web browser. i need to open it in InAppBrowser only.

### Command or Code

this.browser = this.iabService.iab.create(url, '_blank', this.iabService.iabSettings);

### Environment, Platform, Device

Android Mobile

### Version information

## 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 with the provided iab.create(url, '_blank', this.iabService.iabSettings) call and reproduce the behavior on Android, comparing cases that open in InAppBrowser with those that open in the system browser. No source file, test, or version is named; done means identifying why target '_blank' is handled inconsistently and ensuring the website opens in InAppBrowser only.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, javascript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.