apache / apache/cordova-plugin-inappbrowser

Doesn't work properly on Android without cordova-plugin-whitelist

Open
#448 1 comment 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

### What is expected to happen?

Plugin opens system browser when invoked, whether or not cordova-plugin-whitelist is installed.

### What does actually happen?

On Android, plugin doesn't open system browser unless cordova-plugin-whitelist is installed. There are no relevant error messages nor anything in the docs to show this dependency. The docs seem to say that the system browser can be opened regardless of whether cordova-plugin-whitelist is installed or not.

### Environment, Platform, Device

Android, Pixel 2 running Android 9

### Version information

```
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 8.0.0, ios 5.0.0
Cordova Plugins
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-webview 4.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
```

## 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 report on Android 9 with the listed Cordova and plugin versions, comparing behavior with and without cordova-plugin-whitelist. Trace the plugin's Android browser-launch entry point and verify that the documented dependency and actual behavior agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.