apache / apache/cordova-plugin-inappbrowser
self.webView.allowsBackForwardNavigationGestures = NO;
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
## Motivation Behind Feature
swipe back does not work in ios and this is very bad
## Feature Description
I propose to make it optional:
add a parameter to options: allowsbackforwardnavigationgestures = yes / no
disabled by default so as not to break current implementations
## Alternatives or Workarounds
Now we have to manually change the parameter self.webView.allowsBackForwardNavigationGestures = YES; <-
in file: https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/ios/CDVWKInAppBrowser.m
Contributor guide
Research direction
Start with src/ios/CDVWKInAppBrowser.m, where the issue currently requires manually setting self.webView.allowsBackForwardNavigationGestures. Trace how InAppBrowser options reach the iOS implementation, then make the gesture setting configurable while preserving the disabled-by-default behavior. Done means the option enables swipe-back navigation without changing existing implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100