Skip to content

0.16.11-feedly: Fix WebView black screen: remove auto-trigger from onPageFinished

Choose a tag to compare

@aakar aakar released this 24 May 01:58
· 22 commits to main since this release
34748b3
The READ_FEEDLY_TOKEN_JS evaluation in onPageFinished was calling back
into a JavascriptInterface on redirect URLs during page load, which
disrupted WebView rendering and caused a black screen.

Simplified to two capture paths only:
1. EARLY_HOOK_JS XHR/fetch hooks (via addDocumentStartJavaScript) fire
   automatically when feedly makes an authenticated API call
2. "Done" button reads window.feedlyToken via evaluateJavascript callback
   (no JavascriptInterface round-trip needed) — shows a Toast if the user
   isn't signed in yet

Removed onTokenReadAttempted() JavascriptInterface method entirely.

https://claude.ai/code/session_01K8vz8cjZA993ngm2UuAGht

Co-authored-by: Claude <noreply@anthropic.com>