Releases: adnxy/react-native-secure-webview
Releases · adnxy/react-native-secure-webview
Release list
v0.1.0
Initial release of react-native-secure-webview — a Fabric-native WebView for controlled web flows (auth, checkout, OAuth redirects, 3-D Secure) with a deny-by-default navigation policy.
Highlights
- New Architecture only — real Fabric component:
WKWebViewon iOS,android.webkit.WebViewon Android - Exact origin allowlist — scheme, host, and effective port; no wildcards, enforced natively so server redirects never reach JS
- Custom scheme interception — allow-listed schemes surface as
onDeepLinkevents instead of loading - Single string-only bridge —
window.ReactNativeSecureWebView.postMessage(string), main frame + allow-listed origins only - Fail closed — invalid config entries dropped, unknown URLs blocked, unsupported features raise errors (
ephemeral_not_supportedon Android,message_bridge_not_supportedon old WebViews)
Install
npm install react-native-secure-webview
cd ios && pod installRequires React Native 0.85+ with the New Architecture, iOS 15.1+, Android minSdk 24.
See CHANGELOG.md for details and SECURITY.md for the threat model.
📦 npm: https://www.npmjs.com/package/react-native-secure-webview