apache / apache/cordova-plugin-inappbrowser
feat(iOS): ability to set `limitsNavigationsToAppBoundDomains` to `YES`
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
Ability to set `limitsNavigationsToAppBoundDomains` to `YES`
## Motivation Behind Feature
This flag allows services workers to register for the limited number of domains (10) in webviews on IOS
## Feature Description
A setting to toggle this on for IOS
```
configuration.limitsNavigationsToAppBoundDomains = YES;
...
WKAppBoundDomains
MYDOMAIN.TEST
```
## Alternatives or Workarounds
No alternatives
Service workers will not register in webviews without this
This does not work
```
com.apple.developer.WebKit.ServiceWorkers
```
Contributor guide
Research direction
No source file or test is named. Start by tracing the iOS InAppBrowser configuration entry point and the handling of WKAppBoundDomains; done means exposing a setting that enables limitsNavigationsToAppBoundDomains and supports the shown WKAppBoundDomains plist configuration, with the existing iOS checks still passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100