apache / apache/cordova-plugin-inappbrowser
A HREF's are being ignored using WKWebView on iOS
- 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?
You should be able to click on an href and have it open in a new window.
### What does actually happen?
Nothing. No errors but the a href link is completely ignored
## Information
Using WKWebView. In config.xml I've added as much "allow-navigation", "access" and "allow-intent" links as possible:
`
`
I force WKWebView like this:
`
`
### Command or Code
Just build and test the app
### Environment, Platform, Device
all ios devices
### Version information
Cordova: Cordova
Xcode 11
## 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
Research direction
Start by reproducing the ignored href behavior in the WKWebView configuration shown in config.xml on an iOS device. Check how links intended to open in a new window are handled; done means clicking an href opens the expected new window without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100