Skip to content

Clear WebView history #12

@fdocr

Description

@fdocr

Is your feature request related to a problem? Please describe.
It would be ideal if we can clear the WKWebView history after a user has signed in (to avoid them going back to an OAuth page).

The problem with this is that I wasn't able to find a working solution from the WKWebView API (it seems to be read only). Looking into StackOverflow I was able to find a solution that overrides the WKWebView history implementation (#10) but it does not seem to be working good enough (swipe gestures still go back in history).

Describe the solution you'd like
A workaround in order to make the WKWebView clear it's browsing history

Additional context
PoC here: #10

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions