GithubHelp home page GithubHelp logo

nakul-cometchat / cordova-ionic-chat-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cometchat/cordova-ionic-chat-app

0.0 0.0 0.0 79.27 MB

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

JavaScript 2.27% TypeScript 67.59% HTML 18.18% SCSS 11.97%

cordova-ionic-chat-app's Introduction

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

Table of Contents

  1. Config Local Enviroment

  2. Config App

  3. Running the sample app

  4. Contributing

Config-Local-Enviroment

  1. Before proceeding, make sure the latest version of Node.js and npm are installed.

  2. Install the Ionic CLI

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.

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

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

  3. Now note the API Key and App ID

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

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

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

  3. Now note the API Key and App ID

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

cordova-ionic-chat-app's People

Contributors

jeetkapadia avatar juhi-saha avatar mayur-bhandari avatar ranjanravi85 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.