webview(android): keep a factory-supplied WebView alive across Compose navigation
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
Research direction
Read WebViewAndroid.kt, focusing on onRelease and how it handles WebViews supplied through LocalWebViewFactory. Trace the Compose navigation lifecycle enough to confirm when release runs. Done means an app-supplied WebView can be reused after navigation without being destroyed, while the intended behavior for other WebViews is preserved.
Written by the indexing model from the issue text.
Description
Carried over from NucleusFramework/ComposeNativeWebview#66, whose code now lives here.
LocalWebViewFactory is public now, so an app can supply its own native WebView, but Android's onRelease still calls webView.destroy() (WebViewAndroid.kt): a WebView the app meant to keep (to restore it when navigating back) is destroyed when its composable leaves.
- Dominant language
- Kotlin
- Stars
- 393
- Forks
- 27
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NucleusFramework/Nucleus
-
enhancement module:webview p3
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
NucleusFramework/Nucleus#1004 ·
Maintainers usually reply within 1 day
-
tray(linux): Plasma keeps a stale ItemIsMenu when primaryAction is added or removed at run timeOpenbug linux module:tray p3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NucleusFramework/Nucleus#989 ·
Maintainers usually reply within 1 day
-
documentation module:plugin p2
Difficulty 1/5 Under an hour Newbie friendliness 85/100
NucleusFramework/Nucleus#475 · 1 comment ·
Maintainers usually reply within 1 day
-
bug module:webview p2
Difficulty 4/5 3-5 days Newbie friendliness 55/100
NucleusFramework/Nucleus#1006 ·
Maintainers usually reply within 1 day
-
bug macos module:webview p2
Difficulty 4/5 3-5 days Newbie friendliness 48/100
NucleusFramework/Nucleus#1005 ·
Maintainers usually reply within 1 day
All issues in NucleusFramework/Nucleus
Similar issues
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
FossifyOrg/Gallery#1235 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#139 ·
Maintainers usually reply within 1 day
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
danielecanci/2ndCare#4 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
commons-app/apps-android-commons#7496 · 2 comments ·
Maintainers usually reply within 1 day
-
⚠️ Priority: P1 - High 🐛 Type:Bug 📏 Size: S 🕒 State:Awaiting Triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100