1.1.17 β€’ Published 3 years ago

cometchat-expo-ui-kit v1.1.17

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

CometChat Expo UI Kit is a collection of custom UI Components designed to build text chat and voice/video calling features in your application.

The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly.


Prerequisites

Before you begin, ensure you have met the following requirements:


Installing CometChat React Native UI Kit

1. Setup πŸ› 

To install React-Native UI Kit, you need to first register on CometChat Dashboard. Click here to sign up

i. Get your Application Keys :key:

  • Create a new app
  • Head over to the Quick Start or API & Auth Keys section and note the App ID, Auth Key, and Region.

ii. Add the CometChat Dependency

 npm install expo cometchat-expo-ui-kit

2. Use the library

i. Initialize CometChat 🌟

import CometChatUI from "cometchat-expo-ui-kit";

export const App = () => {
  return <CometChatUI appId={"APP_ID"} region={"REGION"} authKey={"AUTH_KEY"} uid={"UID_OF_THE_CURRENT_USER"} />
}

Note:

  • Replace APP_ID, AUTH_KEY and REGION with your CometChat App ID, Auth Key and Region in the above code.

Your user now automatically logged in.

Roadmap

  • List conversations
  • List messages
  • Send / Receive messages
  • Send / receive calls
  • List friends

Troubleshooting

  • To read the full documentation on UI Kit integration visit CometChat's Documentation.

  • Facing any issues while integrating or installing the UI Kit please connect with them via real time support present in CometChat Dashboard.


Contact :mailbox:

Either contact CometChat directly via the real time support present in CometChat Dashboard.