Basic Chat App with Ionic and ChatEngine
Before proceeding, make sure that you have the ionic CLI installed. Follow this link to setup your base Ionic environment.
Close the repo and install the module dependencies for Ionic and Angular core libraries
npm install
cd IonicChatengineBasicApp
npm install chat-engine --save
Generate your PubNub Publish and Subscribe key by following the first step of ChatEngine quickstart guide
Replace the Publish key in this line
Replace the Subscribe key in this line
Run the app
ionic serve
This will open up the default browser window to run the app. Since this is a chat app, you can open another browser to login as a different user for chatting. For best results, you can test it by launching two instances of the app, one from Chrome and the other from Firefox.
Alternatively, you can compile this into a native android app under Android Studio by building with Cordova and launch from multiple android devices.