You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to Commt, a powerful chat plugin designed to seamlessly integrate secure and customizable chat functionalities into your React Native applications. Offering AES encryption as the default and end-to-end (E2E) support, Commt ensures a secure and reliable communication experience for your users.
13
+
Welcome to Commt, a powerful chat plugin designed to seamlessly integrate secure and customizable chat functionalities into your React Native applications. Offering AES encryption as the default and end-to-end (E2E) support, Commt ensures a secure and reliable real-time communication experience for your users.
14
14
15
15
## Features
16
16
- Written in **TypeScript**
@@ -25,8 +25,8 @@ Welcome to Commt, a powerful chat plugin designed to seamlessly integrate secure
25
25
26
26
## Installation
27
27
28
-
- NPM: `npm i -S @commt/commt-rn-sdk`
29
-
- Yarn: `yarn add @commt/commt-rn-sdk`
28
+
- NPM: `npm i -S @commt/rn-sdk`
29
+
- Yarn: `yarn add @commt/rn-sdk`
30
30
31
31
For detailed installation instructions and configuration options, please refer to our [documentation](https://commt.co/doc/react-native#installation).
32
32
@@ -46,8 +46,8 @@ You can get client configs info from [Commt Dashboard](https://dashboard.commt.c
46
46
47
47
**App.tsx**
48
48
```
49
-
import CommtProvider from "@commt/commt-rn-sdk";
50
-
import useInitiate from "@commt/commt-rn-sdk/hooks/useInitiate";
49
+
import CommtProvider from "@commt/rn-sdk";
50
+
import { useInitiate } from "@commt/rn-sdk/hooks";
51
51
52
52
const ClientConfig = {
53
53
apiKey: "123456789?",
@@ -69,7 +69,7 @@ function App(): JSX.Element {
69
69
70
70
**Home.tsx**
71
71
```
72
-
import { useSetMessages, useSetRooms, useSetUsers } from "@commt/commt-rn-sdk/hooks";
72
+
import { useSetMessages, useSetRooms, useSetUsers } from "@commt/rn-sdk/hooks";
73
73
74
74
const Home = () => {
75
75
// ...
@@ -100,7 +100,7 @@ import {
100
100
MessageList,
101
101
SearchInput,
102
102
MessagesHeader
103
-
} from "@commt/commt-rn-sdk/components";
103
+
} from "@commt/rn-sdk/components";
104
104
105
105
const Messages = () => {
106
106
// ...
@@ -123,7 +123,7 @@ const Messages = () => {
123
123
124
124
**Chat.tsx**
125
125
```
126
-
import { ChatHeader, Chat } from "@commt/commt-rn-sdk/components";
126
+
import { ChatHeader, Chat } from "@commt/rn-sdk/components";
0 commit comments