
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@transak/web-view
Advanced tools
An SDK for react native integration of Transak widget.
Wrapped over webview(react-native-webview
), it provides option to listen to order events.
Using this you get Google Pay integrated by default.
yarn add @transak/web-view
Install these required peer dependencies to facilitate auto-linking (If not already part of your app)
yarn add react-native-webview react-native-inappbrowser-reborn @react-native-community/netinfo
Then use it in your app:
import TransakWebView from '@transak/web-view';
function TransakReactNativeIntegration() {
return (
<TransakWebView
config={{
apiKey: '<your-api-key>',
environment: '<environment: STAGING/PRODUCTION>',
}}
onTransakEventHandler={(event, data) => console.log(event, data)}
/>
);
};
The component accepts all the valid props for react-native-webview except the following: injectJavaScript, sharedCookiesEnabled, injectedJavaScript, injectedJavaScriptBeforeContentLoaded
Prop | Description |
---|---|
config | Refer here for a full list of valid options |
onTransakEventHandler | Accepts callback function to listen to order related events |
MIT Licensed. Copyright (c) Transak Inc. 2022.
FAQs
Transak WebView Wrapper
The npm package @transak/web-view receives a total of 0 weekly downloads. As such, @transak/web-view popularity was classified as not popular.
We found that @transak/web-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.