Skip to content

nitro-webview v0.2.2

Latest

Choose a tag to compare

@l2hyunwoo l2hyunwoo released this 18 Oct 11:30
· 3 commits to main since this release

Changes

NitroWebView now accepts plain functions for all 13 event props and hybridRef. Existing callback(fn) handlers remain supported.

<NitroWebView
  source={{ uri: 'https://example.com' }}
  onMessage={(event) => console.log(event.nativeEvent.data)}
/>

The component reuses callback wrappers when the underlying function is unchanged and clears handlers when passed undefined. Async navigation decisions and event payloads retain their existing behavior. English and Korean guides now describe the 0.2.2 API.

Installation

yarn add nitro-webview@0.2.2 react-native-nitro-modules
# or
npm install nitro-webview@0.2.2 react-native-nitro-modules

Peer requirements remain React Native ~0.85.3 with the New Architecture, React 19.2.3, and Nitro Modules ^0.35.9.

Migration guide · Full changelog