Because these packages have native module dependencies there is some additional linking required to make it work with your React Native project.Explicitly install the native module packages in your project.
import React, { FC } from 'react'// Portal importsimport { usePortal } from '@portal-hq/core'import Webview from '@portal-hq/webview'const MyBrowser: FC = () => { // Store the Portal instance in the state const portal = usePortal() return ( <View style={{ width: '100%', height: '100%' }}> {portal && <Webview url="https://app.uniswap.org/#/swap" // Any URL for a dapp onNavigationStateChange?: (event: WebViewNavigation) => void onSigningRequested?: (approvalRequest: any) => void // only needed if auto-approve is set to false />} </View> )}export default MyBrowser