
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.
A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.
You can see the example app for full reference here
import { GeekChat, getToken, setToken, createUser } from 'geek-chat';
export default class App extends React.Component {
callMe = () => {
// Your custom logic here
};
render() {
return (
<View style={styles.container}>
<GeekChat userData={props.userData} onBackPress={callMe} />
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
createUser
(func) - function that creates a new user [ Can be used to create a custom login Component]
const userData = {
token: "your app token",
uniqueKey: 'users uniquekey',
displayName: 'name to be displayed in the app'
};
const userDetails = await createUser(userData);
setToken
(func) - function to set the app Token. [just pass the token as a string in parameters.]getToken
(func) - function that returns the app token.You can call these functions anywhere in your app. Ideally when your app starts/boots up.
setToken('Your App Token');
const appToken = getToken();
console.log(appToken);
userData
(bool) - The user data as an object which you get from the createUser function.
Requires: uniqueKey
, displayName
and _id
.onBackPress
(func) - call your custom function when your need to exit from the chatApp.We have used react-native-gifted-chat
for UI. Check it out here
FAQs
A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.
We found that geek-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.