Cocoon Beta Update – Splashes and NPM Plugins


We are back again with a bunch of updates and fixes, check them out!

Updates

  • Splashes: We have added support for adding a custom splash to your project. You can add a default splash and override it for each platform. We have added a few parameters that you can set: scale mode, padding, background color and a delay. We have also added a preview. You can even see how it will look in a specific device resolution using the device simulator.

    We think this will save you some precious time of creating and setting up splashes. Just upload an image and generate your splashes for any device automatically. In iOS this image will also be the launch image.

  • We hope you find it useful!

    Cocoon

  • Plugins migration: Cordova is migrating their plugin registry from the Cordova Registry to NPM. The plugins in the Cordova Registry were starting to be a bit outpdated so we have decided to migrate our plugins and the Cocoon Cloud Plugins UI to NPM.

    Now everytime you add a Core or Cocoon plugin or when you look for plugins using the Cocoon Cloud Plugins UI, you will get the latest NPM available plugins.

  • Remember that you can use any Cordova plugin in the Cocoon Cloud.

  • Plugins documentation: Some of you were asking us where could you find the documentation for the plugins you discover throught the Cocoon Cloud Plugins UI. To make this task easier, we have added a link in the Plugins UI. Now if the plugin has documentation you will see an “Available” link that will lead you to the plugin documentation directly.
  • Hope that helps to make the plugins integration even easier!

    Cocoon

  • Smaller Developer App: Some of you asked us if we can reduce the Developer App size to upload to the stores when making tests (ie. Uploading to the PlayStore to test InApp Purchases). Now the Developer Apps generated in the Cocoon Cloud will not include the app source code so the size will be smaller.

Bug Fixes

  • Amazon AppStore Android Plugin:A NumberFormatException in the fetchProducts method has been fixed and the plugin has been updated to the Amazon SDK 2.0.
  • Google Play Store Android Plugin:“skusBundle array associated with key ITEM_ID_LIST cannot contain more than 20 items” issue has been fixed.
  • Cordova File-Transfer Plugin:We have fixed a bug in Canvas+ that prevented the file-transfer plugin from working properly in Canvas+ iOS and Android.
  • Canvas+ sleep prevention:Now when compiling with Canvas+ Android, your app won’t sleep and shut down the screen.

So that’s all for the moment, hope you enjoy this new features!

Thanks for using Cocoon!

The Cocoon Team

Cocoon Beta Update – Forums, plugins and fixes

The Cocoon Forums are finally available!

We have created categories for all the subjects we think that are interesting for the Cocoon community. The Cocoon forum is the best place to talk to other community users or Cocoon developers, report bugs, make suggestion, contribute tutorials, show your work or just talk about life.

To log in the Cocoon forums you have to use a Cocoon cloud account.

Bug Fixes

Apart from the Forums, we have also been working on some bug fixes that you have reported through the feedback widget or mail:

  • Cordova events in Canvas+: The back button and volume button events were not being correctly dispatched in Canvas+. That’s now fixed.
  • DevApp issues launching files: We have fixed an issue that made the Cordova js files (cordova.js, cordova_plugins.js, etc) not to be available when you launched your app in the Android DeApp from a zip file. This is something we do just in case you haven’t bundled the Cordova files inside your zip file.
  • Canvas+ internal Webview issue: There was an issue in Canvas+ Android that made the Canvas+ internal Webview not to be available. That is now fixed.

Plugins

We have also published some new Cocoon plugins that you might find useful for your developements:

  • Game Center Social iOS: This gives access to the social Game Center API: Game Center login, leaderboards and achievements.
    Game Center, source, doc, api
  • Game Center Multiplayer iOS: This gives you access to the multiplayer Game Center API so your users can play real time multiplayer matches.
    Game Center, source,doc, api
  • Google Play Games Social Android: This gives access to the social Google Play Games API: Google Plus login, leaderboards and achievements.
    Google Play Games, source, doc, api
  • Google Play Games Multiplayer Android: This gives you access to the multiplayer Google Play Games API so your users can play real time multiplayer matches.
    Google Play Games, source, doc, api

Remeber that all these plugins are Open Source and officially supported by the Cocoon Team and you can easily add them to your developments through the “Cocoon” section in the Cocoon cloud plugins interface.

Documentation

We have been working on improving our Documentation. We have added a new specific section for Canvas+ explaining all its special features: screencanvas, texture reducer, internal webview, etc. Hope you find it useful.

So that’s all for the moment, hope you enjoy this new features!

Thanks for using Cocoon!

The Cocoon Team