In the previous chapter, we implemented the WebRTC PhoneGap/Cordova application. We built a custom STUN (signaling) server with Socket.io, which processes a variety of requests. Also, we used the PeerJS tool to simplify peer-to-peer connections. Most of the chapters in this book are related to Web development, and only a little bit describes platform-specific features. It's interesting that with the help of PhoneGap/Cordova, we can implement native components and connect them as PhoneGap/Cordova plugins to the application. In this chapter, we will write an Instagram-like application to apply effects to our pictures.
In this chapter, we will:
Revisit application structure organization with Sencha Touch
Understand image processing with HTML5 Canvas and the Pixastic library
Resize images with the help of HTML5 Canvas
Build a custom PhoneGap/Cordova plugin for iOS
I assigned the name "Imaginary" to the project.