hotwired / hotwired/hotwire-native-android
Backing does not run the RouteDecisionHandlers
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 163
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Fairly similar issue to https://github.com/hotwired/hotwire-native-android/issues/140
We're trying to implement RevenueCat, which runs its own native UI
We've tried overiding the UI with our native bit - Router.Decision.NAVIGATE overlaps the old web-based version.
When navigating away from the native screen, and then backing into that previously overlaped url, the native version doesn't show up
That seems to be because we delegate the pop to the NavController, which does not run the destinations
Contributor 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.
Research direction
Read the related issue 140 and inspect Navigator.kt at the linked lines around 116 and 377, focusing on how backing delegates to NavController and handles destinations. Reproduce the native-screen navigation flow described in the issue; done means backing into the overlapping URL invokes the RouteDecisionHandlers so the native UI appears instead of the web version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100