Skip to content

Commit 25a18f1

Browse files
committed
update readme file
1 parent 449497a commit 25a18f1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# COMMT: Secure Chat Plugin for React Native
1+
# COMMT: Chat Plugin for React Native
22

3-
![npm](https://img.shields.io/npm/dw/%40commt%2Fcommt-rn-sdk)
4-
![npm](https://img.shields.io/npm/v/%40commt%2Fcommt-rn-sdk)
5-
![NPM](https://img.shields.io/npm/l/%40commt%2Fcommt-rn-sdk?color=blue)
3+
![npm](https://img.shields.io/npm/dw/%40commt%2Frn-sdk)
4+
![npm](https://img.shields.io/npm/v/%40commt%2Frn-sdk)
5+
![NPM](https://img.shields.io/npm/l/%40commt%2Frn-sdk?color=blue)
66

77

88
<p align="center">
99
<img src="https://commt.co/images/logo/commt-logo.png" width="300" />
1010
</p>
1111
<br />
1212

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 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.
1414

1515
## Features
1616
- Written in **TypeScript**
@@ -25,8 +25,8 @@ Welcome to Commt, a powerful chat plugin designed to seamlessly integrate secure
2525

2626
## Installation
2727

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`
3030

3131
For detailed installation instructions and configuration options, please refer to our [documentation](https://commt.co/doc/react-native#installation).
3232

@@ -46,8 +46,8 @@ You can get client configs info from [Commt Dashboard](https://dashboard.commt.c
4646

4747
**App.tsx**
4848
```
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";
5151
5252
const ClientConfig = {
5353
apiKey: "123456789?",
@@ -69,7 +69,7 @@ function App(): JSX.Element {
6969

7070
**Home.tsx**
7171
```
72-
import { useSetMessages, useSetRooms, useSetUsers } from "@commt/commt-rn-sdk/hooks";
72+
import { useSetMessages, useSetRooms, useSetUsers } from "@commt/rn-sdk/hooks";
7373
7474
const Home = () => {
7575
// ...
@@ -100,7 +100,7 @@ import {
100100
MessageList,
101101
SearchInput,
102102
MessagesHeader
103-
} from "@commt/commt-rn-sdk/components";
103+
} from "@commt/rn-sdk/components";
104104
105105
const Messages = () => {
106106
// ...
@@ -123,7 +123,7 @@ const Messages = () => {
123123

124124
**Chat.tsx**
125125
```
126-
import { ChatHeader, Chat } from "@commt/commt-rn-sdk/components";
126+
import { ChatHeader, Chat } from "@commt/rn-sdk/components";
127127
128128
const Chats = () => {
129129
const route = useRoute<RouteProp<RootStackParamList, "Chats">>();

0 commit comments

Comments
 (0)