Full tutorial at http://melvin0008.github.io/blog/ionic-socketio-chat/
Simple chat demo for socket.io and ionic to build ios and android chat applications.
Connected to chat.socket.io using this app.
Instructions:
- Clone this repository.
- Install ionic :
npm install -g cordova ionic
- Add platform :
ionic platform add android
orionic platform add ios
- As we are using external resources add whitelist plugin :
cordova plugin add cordova-plugin-whitelist
- Also add the keyboard plugin :
cordova plugin add com.ionic.keyboard
- Run ionic build:
ionic run android
orionic run ios
Demo:
Android | iOS |
---|---|
Enjoy!.
Feel free to contribute.