Index

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins repositories

This is a list of all the Atomic Plugins available.

Documentation

Select the specific namespace below to open the relevant documentation section:

Tools

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Ads

This repo contains Ad APIs designed using the Atomic Plugins paradigm. Monetize your app and take advantage of all the features provided: elegant API, flexible monetization solution that works across multiple platforms, full support for banners and full screen ads (interstitials), single API for different Ad Providers, etc. The API is already available in many languagues and we have the plan to add more in the future.

Currently there are 2 Ad providers implemented but new ones can be easily added:

  • MoPub with optional adapters
  • AdMob

Setup your project

Releases are deployed to NPM. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    // MoPub
    cordova plugin add cocoon-plugin-ads-ios-admob
    cordova plugin add cocoon-plugin-ads-ios-mopub

    // Optional MoPub adapters for iOS and Android
    cordova plugin add cocoon-plugin-ads-android-mopub-adcolony
    cordova plugin add cocoon-plugin-ads-android-mopub-admob
    cordova plugin add cocoon-plugin-ads-android-mopub-chartboost
    cordova plugin add cocoon-plugin-ads-android-mopub-greystripe
    cordova plugin add cocoon-plugin-ads-android-mopub-inmobi
    cordova plugin add cocoon-plugin-ads-android-mopub-millennialmedia
    cordova plugin add cocoon-plugin-ads-ios-mopub-admob
    cordova plugin add cocoon-plugin-ads-ios-mopub-chartboost
    cordova plugin add cocoon-plugin-ads-ios-mopub-millennial
    cordova plugin add cocoon-plugin-ads-ios-mopub-adcolony

    // AdMob
    cordova plugin add cocoon-plugin-ads-android-admob
    cordova plugin add cocoon-plugin-ads-android-mopub

    // Optional AdMob adapters for iOS and Android
    cordova plugin add cocoon-plugin-ads-android-admob-adcolony
    cordova plugin add cocoon-plugin-ads-ios-admob-adcolony

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Full example

See a full example here: Ads demo

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Facebook

This repo contains Facebook APIs designed using the Atomic Plugins paradigm. Connect your app to Facebook and take advantage of all the features provided. The API is already available in many languagues and we have the plan to add more in the future.

Setup your project

Releases are deployed to NPM. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-social-android-facebook

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Full example

See a full example here: Facebook demo

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Game Center

This repo contains Game Center APIs designed using the Atomic Plugins paradigm. Connect your app to Game Center and take advantage of all the features provided. The API is already available in many languagues and we have the plan to add more in the future.

Setup your project

Releases are deployed to NPM. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-social-ios-gamecenter

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Google Play Games

This repo contains Google Play Games APIs designed using the Atomic Plugins paradigm. Connect your app to Google Play Games and take advantage of all the features provided. The API is already available in many languagues and we have the plan to add more in the future.

Setup your project

Releases are deployed to NPM. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-social-android-googleplaygames

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for InApps

This repository contains an in-app purchase API designed using the Atomic Plugins paradigm. You can integrate IAPs in your app and take advantage of all the features provided: elegant API, local and server-side receipt validation, secure consumable and non-consumable purchase tracking, local products cache, etc. The API is already available in many languagues and we plan to add more in the future.

Currently there are 3 in-app purchase providers implemented but new ones can be easily added:

  • Apple AppStore (iOS/Mac).
  • GooglePlay.
  • Amazon AppStore.

Setup your project

Releases are deployed to Cordova Plugin Registry. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-inapps-ios-appstore
    cordova plugin add cocoon-plugin-inapps-android-googleplay
    cordova plugin add cocoon-plugin-inapps-android-amazon

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Version:
  • 1.0

Index

Canvas+ API documentation

Cocoon Canvas+ are multiplatform Javascript utilities that work in Canvas+. These plugins are included in Canvas+ core, so it is not required to install anything else at the cloud. The required files, if so, will be injected automatically in your project.

Important note

Unlike old CocoonJS plugins, Cocoon Canvas+ plugins need to wait for Cordova "deviceready" event to start working.

Example

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    // Cocoon Canvas+ code here
}  

Index

Canvas+ internal Webview

Canvas+ allows accessing a full DOM environment via Webview. Thus, there are two environments that live together: Canvas+ and WebView. Although both are two different JavaScript environments, Cocoon allows to render a transparent Webview on top of the Canvas+ OpenGL ES rendering context and it also provides a bidirectional communication channel between them. In this way, the final visual result seems to integrate both environments seamlessly.

However, as Cordova only injects automatically the required clobbers in the main webview engine, it is neccesary to add manually the following files to the content that will be sent and displayed in Canvas+ internal Webview:


Documentation

Select the specific namespace below to open the relevant documentation section:

We hope you find everything you need to get going here, but if you stumble on any problems with the docs or the plugins, just drop us a line at our forums and we'll do our best to help you out.

Tools

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Multiplayer

This repository contains a Multiplayer API designed using the Atomic Plugins paradigm. The API is already available in many languagues and we plan to add more in the future.

Setup your project

Releases are deployed to Cordova Plugin Registry. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-multiplayer-ios-gamecenter
    cordova plugin add cocoon-plugin-multiplayer-android-googleplaygames

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Full example

See a full example here: Multiplayer demo

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Notifications

This repository contains a Notifications API designed using the Atomic Plugins paradigm. The API is already available in many languagues and we plan to add more in the future.

Setup your project

Releases are deployed to Cordova Plugin Registry. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-notifications-android-local
    cordova plugin add cocoon-plugin-notifications-android-parse
    cordova plugin add cocoon-plugin-notifications-ios-local
    cordova plugin add cocoon-plugin-notifications-ios-parse

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins Share

This repository contains a native Share API designed using the Atomic Plugins paradigm. The API is already available in many languagues and we plan to add more in the future.

Setup your project

Releases are deployed to Cordova Plugin Registry. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-share

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Version:
  • 1.0

Index

About Atomic Plugins

Atomic Plugins provide an elegant and minimalist API and are designed with portability in mind from the beginning. Framework dependencies are avoided by design so the plugins can run on any platform and can be integrated with any app framework or game engine.

You can contribute and help to create more awesome plugins.

Atomic Plugins for Social integration

This repository contains a Social API designed using the Atomic Plugins paradigm. The API is already available in many languagues and we plan to add more in the future.

Setup your project

Releases are deployed to Cordova Plugin Registry. You only have to install the desired plugins using Cordova CLI and Cocoon Cloud service.

    cordova plugin add cocoon-plugin-social-ios-gamecenter
    cordova plugin add cocoon-plugin-social-android-googleplaygames
    cordova plugin add ccocoon-plugin-social-ios-facebook
    cordova plugin add cocoon-plugin-social-android-facebook

Documentation

In this section you will find all the documentation you need for using this plugin in your Cordova project. Select the specific namespace below to open the relevant documentation section:

Full example

See a full example here: Facebook demo

Version:
  • 1.0
Atomic Plugins - JavaScript Documentation by Ludei, DocStrap Copyright © 2012-2013
The contributors to the JSDoc3 and DocStrap projects.