@expo/dom-webview

A WebView specifically designed for Expo DOM components

  • Types
  • ESM
  • CJS
License
MIT
Deps
0
Install Size
130.7 kB
Vulns
0
Published

Get started

$npm install @expo/dom-webview
$pnpm add @expo/dom-webview
$yarn add @expo/dom-webview
$bun add @expo/dom-webview
$deno add npm:@expo/dom-webview
$vlt install @expo/dom-webview
$vp add @expo/dom-webview

Readme

@expo/dom-webview

The @expo/dom-webview module is a WebView specifically designed for DOM components. It creates a bridge between native code and the WebView, allowing you to import and use Expo modules within DOM components. While this WebView does not have full feature parity with react-native-webview, additional features may be added based on internal requests and evolving needs.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npx expo install @expo/dom-webview
Configure for iOS

Run npx pod-install after installing the npm package.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.