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 Cross-Platform WebView
npm install react-native-webview
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
6,601 Stars
964 Commits
3,008 Forks
55 Watching
53 Branches
294 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
TypeScript (29.05%)
Java (22.35%)
Objective-C (16.9%)
C++ (12.97%)
Objective-C++ (8.01%)
Kotlin (7.57%)
JavaScript (2.57%)
Ruby (0.38%)
C (0.19%)
HTML (0.03%)
Cumulative downloads
Total Downloads
Last day
-4.1%
181,116
Compared to previous day
Last week
4.5%
1,007,943
Compared to previous week
Last month
7.7%
4,068,984
Compared to previous month
Last year
51.3%
37,225,151
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:
The latest stable version of the package.
Stable Version
1
6.5/10
Summary
Android WebView Universal Cross-site Scripting
Affected Versions
<= 10.10.2
Patched Versions
11.0.0
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9
Reason
Found 15/30 approved changesets -- score normalized to 5
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
44 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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