Jamon Holmgren 0beeaa3fd4 chore(docs): added version badge 💯 | il y a 5 ans | |
---|---|---|
.circleci | il y a 5 ans | |
.vscode | il y a 5 ans | |
android | il y a 5 ans | |
bin | il y a 6 ans | |
docs | il y a 5 ans | |
ios | il y a 5 ans | |
src | il y a 5 ans | |
.all-contributorsrc | il y a 5 ans | |
.eslintignore | il y a 5 ans | |
.eslintrc.js | il y a 5 ans | |
.flowconfig | il y a 6 ans | |
.flowconfig.android | il y a 6 ans | |
.gitignore | il y a 5 ans | |
.prettierrc.js | il y a 5 ans | |
.releaserc | il y a 6 ans | |
LICENSE | il y a 6 ans | |
README.md | il y a 5 ans | |
babel.config.js | il y a 5 ans | |
index.d.ts | il y a 5 ans | |
index.js | il y a 5 ans | |
jest.config.js | il y a 5 ans | |
package.json | il y a 5 ans | |
react-native-webview.podspec | il y a 6 ans | |
tsconfig.json | il y a 5 ans | |
yarn.lock | il y a 5 ans |
React Native WebView is a modern, well-supported, and cross-platform WebView for React Native. It is intended to be a replacement for the built-in WebView (which will be removed from core).
This project is maintained for free by these people using both their free time and their company work time.
Note: React Native WebView is not currently supported by Expo unless you “eject”.
Read our Getting Started Guide. If any step seems unclear, please create a detailed issue.
This project follows semantic versioning. We do not hesitate to release breaking changes but they will be in a major version.
Breaking History:
Current Version:
Upcoming:
Import the WebView
component from react-native-webview
and use it like so:
import React, { Component } from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { WebView } from 'react-native-webview';
// ...
class MyWebComponent extends Component {
render() {
return (
<WebView source={{ uri: 'https://facebook.github.io/react-native/' }} />
);
}
}
For more, read the API Reference and Guide. If you’re interested in contributing, check out the Contributing Guide.
Invariant Violation: Native component for "RNCWKWebView does not exist"
it likely means you forgot to run react-native link
or there was some error with the linking processSee Contributing.md
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT