webview(android): optional system Back navigates the WebView history

Open Beginner friendly
#1,004 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
67/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin
Domain
backend, mobile

Research direction

Start by reading the Android WebView backend and the carried-over pull request NucleusFramework/ComposeNativeWebview#41, which added an opt-in BackHandler. Check how canGoBack is exposed and how Back handling is wired in the Android implementation. Done when an opt-in system Back handler navigates to the previous page when WebView history is available.

Written by the indexing model from the issue text.

Description

enhancement module:webview p3

Carried over from the pull request NucleusFramework/ComposeNativeWebview#41, whose code now lives here.

The Android backend exposes canGoBack, but nothing makes the system Back gesture go back in the page history; the PR added an opt-in BackHandler for it.

Dominant language
Kotlin
Stars
393
Forks
27
Avg merge
1d 10h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NucleusFramework/Nucleus

All issues in NucleusFramework/Nucleus

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.