Canvas+ only supports regular Websockets but you can use the Webview forwarding API to use the Webview Websockets SSL capabilities from Canvas+. Take a look at this thread to learn more.
- Can I use SSL Websockets in Canvas+?
- What is Cordova?
- Which benefits does Cordova report to my projects?
- What is the Cocoon version?
- My plugin doesn’t work with the cocoon compiler. Why?
- What is the config.xml file?
- What is multidex and why am I getting that error?
Cordova or Apache Cordova is an open source Apache project that has become the de-facto solution to create hybrid apps. You can learn more about Cordova here.
Extensibility. Cocoon has been traditionally an ad-hoc solution for creating hybrid games. This led to complex updates and limited capability to extend the platform. Relying on Cordova brings automatic compatibility with all the existent Cordova plugins.
Cocoon is now built on top of Cordova. Cocoon has its own version, and corresponds with different Cordova version. Current Cocoon is based on Cordova 5.0.0 command line interface. It’ll evolve with the time, for sure ;-)
Each plugin must support the Cordova version for each platform. Check the plugin compatibility, because it may not have been adapted to the running version of cordova android and cordova iOS.
The config.xml is the soul of the new cocoon. This file determines the plugins to be installed, the configuration and version of each plugin, and the resources for the project: splashes, and icons. The config.xml can be edited directly from the cocoon site in either two ways:
- Setting the config values using the Settings and plugins tabs
- Editing the config.xml file directly from the config.xml tab
Multidex issues normally happen when you have added many plugins into your project and easily recognizable because of this error log: [crayon-5d0adc23df1a6753190241/] You have a deeper explanation of why this happens here. Avoiding this error is as simple as enabling and option you can find in the Android settings: Just set that to Yes and you shouldn't get any more Multidex issues.