npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nuedesk/nuechat-react-native

v0.1.2

Published

Nuedesk live chat sdk for react-native application

Readme

@nuedesk/nuechat-react-native

Nuedesk Live Chat SDK for React Native applications. This SDK allows you to integrate a live chat widget into your React Native app, enabling real-time communication with your users.


Features

  • Real-Time Messaging: Seamlessly communicate with your users in real-time.
  • Customizable Widget: Easily configure the widget's appearance and behavior.
  • User Management: Register and manage users for personalized chat experiences.
  • Cross-Platform Support: Works on both iOS and Android platforms.
  • Lightweight and Easy to Use: Simple API for quick integration.

Installation

Install the SDK using npm:

npm install @nuedesk/nuechat-react-native react-native-webview

Or using yarn:

yarn add @nuedesk/nuechat-react-native react-native-webview

Usage

1. Initialize the SDK

The NueChatSDK must be initialized globally in your app. This is typically done in the root component (App.tsx).

import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import { NueChatSDK } from '@nuedesk/nuechat-react-native';
import HomeScreen from './HomeScreen';
import SupportScreen from './SupportScreen';

const Stack = createStackNavigator();

function RootStack() {
  return (
    <Stack.Navigator
      screenOptions={{
        headerShown: false,
      }}
    >
      <Stack.Screen name="Home" component={HomeScreen} />
      <Stack.Screen name="Support" component={SupportScreen} />
    </Stack.Navigator>
  );
}

export default function App() {
  // Initialize the SDK with your API key
  NueChatSDK.initialize({
    apiKey: 'YOUR_API_KEY',
  });

  return (
    <NavigationContainer>
      <RootStack />
    </NavigationContainer>
  );
}

2. Render the Chat Page

You can use NueChatSDK.Page to render the chat widget in a specific screen, such as a SupportScreen.

import React from 'react';
import { View, StyleSheet } from 'react-native';
import { NueChatSDK } from '@nuedesk/nuechat-react-native';

export default function SupportScreen() {
  return (
    <View style={styles.container}>
      {/* Render the chat widget */}
      <NueChatSDK.Page />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
    backgroundColor: 'cornflowerblue',
  },
});

Configuration

SDK Initialization

The initialize method is used to configure the SDK globally.

Example:

NueChatSDK.initialize({
  apiKey: 'YOUR_API_KEY',
});

Parameters:

  • apiKey (string, required): Your API key for authenticating with the Nuedesk server.
  • user (optional): An object containing user information.

Example:

NueChatSDK.initialize({
  apiKey: 'YOUR_API_KEY',
  user: {
    id: 'user-123',
    email: '[email protected]',
    firstName: 'John',
    lastName: 'Doe',
  },
});

User Object:

  • id (string, required): A unique identifier for the user.
  • email (string, required): The user's email address.
  • firstName (string, optional): The user's first name.
  • lastName (string, optional): The user's last name.

Contributing

We welcome contributions! Please follow the guidelines below:


License

This project is licensed under the MIT License.


Support

If you encounter any issues or have questions, feel free to open an issue on the GitHub repository.


Acknowledgments

Special thanks to the Nuedesk team for their support and contributions to this project.