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.
@freeday-ai/webchat-widget-native
Advanced tools
Freeday webchat widget for React Native
pnpm add @freeday-ai/webchat-widget-native
Here's an example of how to display the webchat it within a modal:
import React from 'react';
import {StyleSheet, Button, View} from 'react-native';
import Modal from 'react-native-modal';
import ChatWidget from '@freeday-ai/webchat-widget-native';
export default function App() {
const [isModalVisible, setModalVisible] = React.useState(false);
return (
<View style={{flex: 1, padding: 24}}>
<Button title="Open chat" onPress={() => setModalVisible(true)} />
<Modal
isVisible={isModalVisible}
onBackdropPress={() => setModalVisible(false)}
>
<View style={styles.modal}>
<ChatWidget
// Update this with your own token!
token="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
title="Welcome to Freeday!"
subtitle="Ask us anything in the chat window below 😊"
theme="freeday_v2"
primaryColor="#13c2c2"
greeting="Hi there! How can I help you?"
baseUrl="https://beta-webchat.freeday.chat"
/>
</View>
</Modal>
</View>
);
}
const styles = StyleSheet.create({
modal: {
flex: 1,
borderRadius: 4,
overflow: 'hidden',
},
});
FAQs
Freeday webchat widget for React Native
We found that @freeday-ai/webchat-widget-native demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
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.