
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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 not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.