apache / apache/cordova-plugin-inappbrowser

self.webView.allowsBackForwardNavigationGestures = NO;

Open
#764 0 comments 8 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.