Gathering detailed insights and metrics for react-native-webview
Gathering detailed insights and metrics for react-native-webview
Gathering detailed insights and metrics for react-native-webview
Gathering detailed insights and metrics for react-native-webview
react-native-web-webview
React Native for Web implementation of RN's WebView
react-native-autoheight-webview
An auto height webview for React Native, even auto width for inline html
@react-native-oh-tpl/react-native-webview
React Native WebView component for harmony
react-native-webview-invoke
Invoke functions between React Native and WebView directly
React Native Cross-Platform WebView
npm install react-native-webview
Typescript
Module System
Node Version
NPM Version
69.2
Supply Chain
60.7
Quality
81.2
Maintenance
50
Vulnerability
93.8
License
TypeScript (29.1%)
Java (22.5%)
Objective-C (16.93%)
C++ (12.81%)
Objective-C++ (8%)
Kotlin (7.53%)
JavaScript (2.54%)
Ruby (0.37%)
C (0.18%)
HTML (0.03%)
Total Downloads
135,541,646
Last Day
55,206
Last Week
1,141,166
Last Month
5,060,159
Last Year
48,430,732
MIT License
6,885 Stars
991 Commits
3,087 Forks
57 Watchers
53 Branches
299 Contributors
Updated on Jul 08, 2025
Minified
Minified + Gzipped
Latest Version
13.15.0
Package Id
react-native-webview@13.15.0
Unpacked Size
642.46 kB
Size
120.19 kB
File Count
121
NPM Version
6.14.18
Node Version
18.13.0
Published on
Jun 08, 2025
Cumulative downloads
Total Downloads
Last Day
-5.8%
55,206
Compared to previous day
Last Week
-7.2%
1,141,166
Compared to previous week
Last Month
1.2%
5,060,159
Compared to previous month
Last Year
66.1%
48,430,732
Compared to previous year
2
2
28
React Native WebView is a community-maintained WebView component for React Native. It is intended to be a replacement for the built-in WebView (which was removed from core).
Many thanks to these companies for providing us with time to work on open source.
Please note that maintainers spend a lot of free time working on this too so feel free to sponsor them, it really makes a difference.
Windows and macOS are managed by Microsoft, notably:
Shout-out to Jamon Holmgren from Infinite Red for helping a lot with the repo when he had more available time.
Maintaining WebView is very complex because it is often used for many different use cases (rendering SVGs, PDFs, login flows, and much more). We also support many platforms and both architectures of react-native.
Since WebView was extracted from the React Native core, nearly 500 pull requests have been merged.
Considering that we have limited time, issues will mostly serve as a discussion place for the community, while we will prioritize reviewing and merging pull requests.
This project is compatible with iOS, Android, Windows and macOS.
This project supports both the old (paper) and the new architecture (fabric).
This project is compatible with expo.
Read our Getting Started Guide. If any step seems unclear, please create a pull request.
This project follows semantic versioning. We do not hesitate to release breaking changes but they will be in a major version.
Import the WebView
component from react-native-webview
and use it like so:
1import React, { Component } from 'react'; 2import { StyleSheet, Text, View } from 'react-native'; 3import { WebView } from 'react-native-webview'; 4 5// ... 6const MyWebComponent = () => { 7 return <WebView source={{ uri: 'https://reactnative.dev/' }} style={{ flex: 1 }} />; 8}
For more, read the API Reference and Guide. If you're interested in contributing, check out the Contributing Guide.
Invariant Violation: Native component for "RNCWebView does not exist"
it likely means you forgot to run react-native link
or there was some error with the linking process:app:mergeDexRelease
, you need to enable multidex support in android/app/build.gradle
as discussed in this issueContributions are welcome, see Contributing.md
MIT
This readme is available in:
6.5/10
Summary
Android WebView Universal Cross-site Scripting
Affected Versions
<= 10.10.2
Patched Versions
11.0.0
Reason
11 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 14/30 approved changesets -- score normalized to 4
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
55 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More