apache / apache/cordova-plugin-inappbrowser

Multiple Window Support

Open
#937 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

# Feature Request

## Feature Description
We use InAppBrowser as an SSO solution for our application, this has worked for the last 6 or so years. Now we have a new vendor who needs to be able to open a "New tab" with shared cookies/session. This means we cannot trigger an opening of the user device browser it would have to be another shared instance of InAppBrowser.
Currently the vendor opens new tabs through `window.open(, '_blank');` which works in the web version of our SSO. But when it's loaded through InAppBrowser it just replaces the entire page with the ``.

Are there any plans to support multiple InAppBrowser windows?
And/Or
Are there any viable workarounds, i see in the `*.java` code there is a comment saying its not supported but no reason given.

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reading the *.java implementation and its comment about multiple windows, then trace how window.open(, '_blank') is handled by InAppBrowser. Done would require a clearly defined approach for opening another shared-cookie InAppBrowser instance, or documented evidence that a viable workaround is not supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.