apache / apache/cordova-plugin-inappbrowser

Chooser is not showing for Android 11

Open
#915 0 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
Due to Android 11 package visibility restrictions, the chooser is not shown when `target="_system"`

### What is expected to happen?
Chooser to show option to use different browsers installed on the device

### What does actually happen?
Opens the url in chrome

## Information

### Command or Code

### Environment, Platform, Device
cordova-android 10.1.1
Device running Android 11

### 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 by reproducing `target="_system"` with cordova-android 10.1.1 on a device running Android 11, then trace the plugin's handling of that target and Android package visibility. The work is done when the chooser offers the different installed browsers instead of opening the URL directly in Chrome.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.