{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/issues/51","repository_url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine","labels_url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/issues/51/comments","events_url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/issues/51/events","html_url":"https://github.com/apache/cordova-plugin-wkwebview-engine/issues/51","id":354001986,"node_id":"MDU6SXNzdWUzNTQwMDE5ODY=","number":51,"title":"Selectively enable back OR forward navigation gestures?","user":{"login":"lougreenwood","id":12051736,"node_id":"MDQ6VXNlcjEyMDUxNzM2","avatar_url":"https://avatars3.githubusercontent.com/u/12051736?v=4","gravatar_id":"","url":"https://api.github.com/users/lougreenwood","html_url":"https://github.com/lougreenwood","followers_url":"https://api.github.com/users/lougreenwood/followers","following_url":"https://api.github.com/users/lougreenwood/following{/other_user}","gists_url":"https://api.github.com/users/lougreenwood/gists{/gist_id}","starred_url":"https://api.github.com/users/lougreenwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lougreenwood/subscriptions","organizations_url":"https://api.github.com/users/lougreenwood/orgs","repos_url":"https://api.github.com/users/lougreenwood/repos","events_url":"https://api.github.com/users/lougreenwood/events{/privacy}","received_events_url":"https://api.github.com/users/lougreenwood/received_events","type":"User","site_admin":false},"labels":[{"id":1017028617,"node_id":"MDU6TGFiZWwxMDE3MDI4NjE3","url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/labels/support","name":"support","color":"35c641","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-25T10:25:11Z","updated_at":"2018-08-25T10:51:13Z","closed_at":null,"author_association":"NONE","body":"There are scenarios where pages may want to allow a forward navigation gesture whilst disabling back, for example, in an app with multiple top-level routes:\r\n\r\n```\r\n- Top-level-route-1 (forward only)\r\n  - Sub route 1 (back or forward)\r\n    - Sub route 2 (back or forward)\r\n- Top-level-route-2 (forward only)\r\n  - Sub route 3 (back or forward)\r\n    - Sub route 4 (back or forward)\r\n```\r\n\r\nIn an app with multiple top-level routes, the current behaviour allows swiping back to navigate between top level routes - IMO this breaks the logical organisation of routes in the application structure where top-level routes are independent. additionally, I believe that this could cause confusion for users as it breaks the usual iOS app expectations.\r\n\r\ntldr; The current `AllowBackForwardNavigationGestures` creates a behaviour which is more like a website than an app. Improving the configuration to enable forward whilst disabling back (or vice versa) allows for more 'app-like' navigation and is a step away from the uncanny valley of Cordova apps.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/issues/comments/415960829","html_url":"https://github.com/apache/cordova-plugin-wkwebview-engine/issues/51#issuecomment-415960829","issue_url":"https://api.github.com/repos/apache/cordova-plugin-wkwebview-engine/issues/51","id":415960829,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTk2MDgyOQ==","user":{"login":"lougreenwood","id":12051736,"node_id":"MDQ6VXNlcjEyMDUxNzM2","avatar_url":"https://avatars3.githubusercontent.com/u/12051736?v=4","gravatar_id":"","url":"https://api.github.com/users/lougreenwood","html_url":"https://github.com/lougreenwood","followers_url":"https://api.github.com/users/lougreenwood/followers","following_url":"https://api.github.com/users/lougreenwood/following{/other_user}","gists_url":"https://api.github.com/users/lougreenwood/gists{/gist_id}","starred_url":"https://api.github.com/users/lougreenwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lougreenwood/subscriptions","organizations_url":"https://api.github.com/users/lougreenwood/orgs","repos_url":"https://api.github.com/users/lougreenwood/repos","events_url":"https://api.github.com/users/lougreenwood/events{/privacy}","received_events_url":"https://api.github.com/users/lougreenwood/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T10:51:13Z","updated_at":"2018-08-25T10:51:13Z","author_association":"NONE","body":"I just created a separate issue (for the benefit of future visitors from Google) because I'm now beginning to believe that I'm not using the feature as it's intended..."}}
{"actor":{"display_login":"lougreenwood"}}