Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cometchat/cordova-ionic-chat-app

Voice & Video Calling and Text Chat App for Cordova/Ionic
https://github.com/cometchat/cordova-ionic-chat-app

app calling chat conference cordova ionic messaging video voice

Last synced: 7 days ago
JSON representation

Voice & Video Calling and Text Chat App for Cordova/Ionic

Awesome Lists containing this project

README

        

# cometchat-pro-Ionic-sample-app







CometChat ionic Demo app (built using **CometChat Pro**) is a fully functional messaging app capable of **one-on-one** (private) and **group** messaging. The app enables users to send **text** messages.

![Platform](https://img.shields.io/badge/Platform-ionic-orange.svg)

## Table of Contents

1. [Config Local Enviroment](#Config-Local-Enviroment)

2. [Config App](#Config-App)

3. [Running the sample app](#Running-the-sample-app)

4. [Contributing](#Contributing)

# Config-Local-Enviroment
1. Before proceeding, make sure the latest version of Node.js and npm are installed.

2. Install the Ionic CLI

```bash

npm install -g ionic

```
For further and detailed steps, please visit the ionic documentation

# Config-App

v2.0+



Git clone and checkout v2 branch.


Get your Application Keys

Signup for CometChat and then:

1. Create a new app - select version as v2 and region as Europe or USA.



2. Head over to the API Keys section and click on the Create API Key button

3. Enter a name and select the scope as Auth Only

4. Now note the API Key and App ID

5. Replace `appID`,   `apiKey` and   `appRegion` in **src/app/login/login.page.ts** with your APP ID,   API KEY  and  APP Region respectively.



v1.0+


Git clone and checkout v1 branch.

Get your Application Keys

Signup for CometChat and then:

1. Create a new app - select version as v1



2. Head over to the API Keys section and click on the Create API Key button

3. Enter a name and select the scope as Auth Only

4. Now note the API Key and App ID

5. Replace `appID`,   `apiKey` in **src/app/login/login.page.ts** with your APP ID,  and  API KEY respectively.



# Running the sample app

Once you have changed the app key values you can install the dependencies and run the project:

```
npm install
```
```
$ ionic serve -l
```

The above command will run the App in your browser.

To run the App in device simulator you can run the below command :

```
$ ionic cordova emulate ios --target=iPhone-6s
```

Note : You can change the platform (ios/android) and target(device on which you want) in the above command.


# Contributing

Feel free to make a suggestion by creating a pull request.