
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@chainplatform/react-native-web-webview
Advanced tools
React Native Web WebView implementation of RN's WebView, this package fork from https://www.npmjs.com/package/react-native-web-webview adn fix deprecated function.
React Native Web WebView implementation of RN's WebView, this package fork from https://www.npmjs.com/package/react-native-web-webview adn fix deprecated function.
npm install @chainplatform/react-native-web-webview --save
or
yarn add @chainplatform/react-native-web-webview
Alias the package in your webpack config:
resolve: {
alias: {
'react-native$': 'react-native-web',
'react-native-webview': '@chainplatform/react-native-web-webview',
... others alias
}
}
Install File Loader:
yarn add --dev file-loader
Add the following rule to your webpack config:
module.exports = {
... others line
module: {
rules: [
... others line
{
test: /postMocks.html$/,
use: {
loader: 'file-loader',
options: {
name: '[name].[ext]',
},
}
}
]
}
... others line
}
import { WebView } from 'react-native-webview';
See RN's doc.
Supported props are:
sourceonMessagescrollEnabledinjectedJavaScriptstyleAdditional, web-specific props are:
newWindow: (boolean|{ name: string, features: string})
This will open the source in a new window, optionally giving it an internal name and custom features.
By default, the name is webview and there are no features set.
This is useful when your target has X-Frame-Options or a no-CORS policy.
It currently only supports a source prop with a method set to POST.
Please feel free to do a PR to support more request types!title: (string) This prop will set the webview title.PRs are welcome!
FAQs
React Native Web WebView implementation of RN's WebView, this package fork from https://www.npmjs.com/package/react-native-web-webview adn fix deprecated function.
We found that @chainplatform/react-native-web-webview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.