Skip to content

Fix SubscriptionsWebViewActivity.canGoBack UnsupportedOperationException#8027

Merged
joshliebe merged 1 commit intodevelopfrom
feature/josh/fix-subscriptions-webview-crash
Mar 19, 2026
Merged

Fix SubscriptionsWebViewActivity.canGoBack UnsupportedOperationException#8027
joshliebe merged 1 commit intodevelopfrom
feature/josh/fix-subscriptions-webview-crash

Conversation

@joshliebe
Copy link
Contributor

@joshliebe joshliebe commented Mar 19, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/1200204095367872/task/1213736584422131?focus=true

Description

  • Returns early if the URL is non-hierarchical on the subscriptions WebView (allowing the back nav)

Steps to test this PR

  • Go to the subscriptions WebView
  • Verify that you can go back

Note

Low Risk
Low risk, localized change to back-navigation gating that adds a safety check to prevent an UnsupportedOperationException when the WebView URL is non-hierarchical.

Overview
Fixes a crash in SubscriptionsWebViewActivity.canGoBack() by checking uri.isHierarchical before reading query parameters.

Non-hierarchical URLs now bypass the preventBackNavigation query check, preventing UnsupportedOperationException during back navigation decisions.

Written by Cursor Bugbot for commit 72e615e. This will update automatically on new commits. Configure here.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@joshliebe joshliebe merged commit f3a1a31 into develop Mar 19, 2026
27 checks passed
@joshliebe joshliebe deleted the feature/josh/fix-subscriptions-webview-crash branch March 19, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants