Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: react-native-webview/react-native-webview
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: readwiseio/react-native-webview
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 39 files changed
  • 2 contributors

Commits on Feb 8, 2026

  1. Re-add Readwise custom features on v13.16.0 with Fabric support

    Re-applies 4 custom Readwise features on top of upstream v13.16.0:
    
    1. setTintColor command - controls WebView selection/tint color via RGBA
       doubles. Fixed Fabric signature to match codegen protocol (4 doubles
       instead of UIColor), preventing SIGABRT on New Architecture.
    
    2. scrollsToTop prop - controls scroll-to-top on status bar tap.
    
    3. dragInteractionEnabled prop - controls drag interactions on the webview.
    
    4. forceLightScrollIndicators is NOT re-added — upstream v13.14.0+ has
       indicatorStyle prop which supersedes it with more flexibility.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    artemlitch and claude committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    010b9de View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

  1. Add rw-asset:// URL scheme handler for serving app bundle assets

    WKWebView pages loaded with about:blank origin (via loadHTMLString:baseURL:)
    cannot access file:// URLs. This custom scheme handler serves files from the
    app bundle (fonts, etc.) via rw-asset:///filename URLs, bypassing the
    file:// security restriction.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    artemlitch and claude committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    e561418 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6 from readwiseio/readwise/v13.16.0

    Readwise/v13.16.0
    artemlitch authored Feb 9, 2026
    Configuration menu
    Copy the full SHA
    fc2c3ad View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2026

  1. Add Android no-op stubs for iOS-only codegen props

    Commit 010b9de added scrollsToTop, dragInteractionEnabled, and
    setTintColor to the codegen spec (RNCWebViewNativeComponent.ts) but
    only implemented them on iOS. Codegen generates a single Java interface
    for all platforms, so Android fails to compile without these stubs.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    artemlitch and claude committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    b3919a9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from readwiseio/fix/android-newarch-stubs

    Add Android no-op stubs for iOS-only codegen props
    artemlitch authored Feb 10, 2026
    Configuration menu
    Copy the full SHA
    811a697 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2026

  1. Commit pre-built lib/ and disable prepare script for pnpm compatibility

    - Remove lib/ from .gitignore and commit pre-built output
    - Rename prepare script so it doesn't auto-run during pnpm git installs
    - Disable packageManager field to prevent pnpm from invoking yarn
    
    This makes the git-hosted fork behave like an npm-published package:
    consumers get pre-built output without needing yarn to build.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    artemlitch and claude committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    952828e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2026

  1. Add preventUniversalLinks prop to sandbox hosts from UL handoff

    When iOS triggers a Universal Link handoff mid-flow inside a WebView, the
    user is yanked into the linked third-party app and the embedded flow
    breaks. This shows up most commonly in embedded auth: e.g. a Goodreads
    sign-in WebView whose post-Amazon-SSO redirect lands on a UL-eligible
    URL like /ap-handler/sign-in?IDP=lwa, sending the user into the
    installed Goodreads app.
    
    iOS does not expose a way to predict UL handoff at the navigation
    delegate — UL is decided in WebKit's process before
    decidePolicyForNavigationAction fires. The only nav type iOS reliably
    does NOT consider for UL handoff is host-app-initiated
    [webView loadRequest:].
    
    This adds a preventUniversalLinks prop (NSArray<NSString *>) for iOS:
    when set, top-frame navigations whose host matches an entry are
    canceled and re-issued via [webView loadRequest:]. Match is
    domain-suffix with a dot boundary, so passing 'goodreads.com' covers
    'goodreads.com', 'www.goodreads.com', and any subdomain — but not
    'evilgoodreads.com'.
    
    The prop takes a host list rather than a boolean because reissuing
    every top-frame nav unconditionally breaks anything that's not a plain
    GET — POST form bodies are stripped by NSURLRequest in the navigation
    action, and reissuing single-use OAuth codes (Amazon callbacks etc.)
    double-consumes them. Only hosts that actually have AASA registered
    for this app's bundle ID are at risk of UL handoff, so the app
    declares them.
    
    An associated-object flag on the WKWebView breaks the cancel/reissue
    loop: the reissued nav re-enters decidePolicyForNavigationAction with
    the flag set, the impl clears it and falls through to the normal
    handler.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    (cherry picked from commit 7fbf264)
    artemlitch and claude committed May 7, 2026
    Configuration menu
    Copy the full SHA
    588534c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #10 from readwiseio/artem/prevent-universal-links-v2

    Add preventUniversalLinks prop to sandbox hosts from UL handoff
    artemlitch authored May 7, 2026
    Configuration menu
    Copy the full SHA
    a827dc4 View commit details
    Browse the repository at this point in the history
Loading