Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-native-custom-android-webview
Advanced tools
**Note:** Android only Fork of the react-native webview that adds a couple new functions:
Note: Android only Fork of the react-native webview that adds a couple new functions:
Supports all the same props as the default react native webview
Prop | Type & Example |
---|---|
openInternally | Array[String] |
npm install react-native-custom-android-webview
android/app/src/main/java/[...]/MainActivity.java
import com.ovoenergy.filteringwebview.FilteringWebViewPackage;
to the imports at the top of the filenew RNFilteringWebView()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ‘:react-native-custom-android-webview’
project(‘:react-native-custom-android-webview’).projectDir = new File(rootProject.projectDir, ‘../node_modules/react-native-custom-android-webview/android’)
```
android/app/build.gradle
:
compile project(':react-native-filtering-web-view')
import FilteringWebView from 'PATH/TO/FilteringWebView';
<FilteringWebView
...standardWebViewProps
openInternally={['google.com', 'facebook.com', 'app.facebook.com']}
/>;
Note: The openInternally list should be based on host, not domain
This project is licensed under the MIT License.
FAQs
Fork of the react-native webview that adds a couple new functions: 1. Ability to pass in an array of hostnames to open in a custom chrome tab 2. Ability to download PDFs / ZIPs / etc. automatically
The npm package react-native-custom-android-webview receives a total of 1 weekly downloads. As such, react-native-custom-android-webview popularity was classified as not popular.
We found that react-native-custom-android-webview demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.