For a few weeks, we’ve had a closed beta to test out plugins in Corona SDK. There’s more polish to be done, but we think the infrastructure is stable enough for broader use.

So today, we are going to open up that beta starting with daily build 2013.1106.

Okay, ready to get started? Two things:

First, download daily build 2013.1106 or after. Do not use previous builds, as you may experience issues.

Second, you need to tell Corona that you are using plugins so the Corona Simulator can perform device builds properly. This boils down to adding a few lines in your ‘build.settings’ file. Head over to our new Corona plugin documentation site. Each plugin has its own documentation page that describes what you need to add in ‘build.settings’ for that plugin.

For example, here’s what you do for inneractive:

settings = {
    -- Add the following to enable inneractive support:
    plugins = {
        ["CoronaProvider.ads.inneractive"] = { publisherId = "com.inner-active", },
    },
}

That’s it! You’re ready to go.

Right now, we’re making the following initial set of plugins available:

  • AdMob: iOS + Android
  • Greenthrottle: Android
  • Inneractive: iOS (Apple API compliant). Android is already in Corona’s core but will soon move into a plugin.
  • OpenSSL: iOS + Android + Mac. Win support is coming.
  • OpenUDID: iOS-only.
  • Zip: iOS + Android + Mac + Win.

Note that some of the plugins only work on device, while can work within the Corona Simulator.

Also, we are going to move some services into plugins that currently reside in the core Corona engine. That means in a future build, if you want to use these services in your apps, you’ll need to add a few lines to your build.settings:

  • Flurry: iOS + Android
  • iAds: iOS
  • InMobi: iOS + Android
  • Inneractive: Android

This is just the beginning. In the coming days and weeks, you’re going to see more plugins from us and from our growing list of partners!

As we’re still at Beta, please let us know any issues in the subscriber-only Plugins Beta forum.

  1. Great news! Congratulations CLabs.
    This is really the right way to go.
    Looking forward to see more plug-ins roll in.

  2. Great news! Thanks for continued progress.

    I would love to see a plug-in that simply reports back the ‘exact’ model of device the app is running on as well as this devices specific screen height and width in pixels. I am surprised Corona SDK core does not offer this very important yet basic information about the device. Thanks.

  3. Great news! I just tested the OPENUDID and it works like a charm.
    I would love to see a soundcloud plugin. So we would have a radio stream feature.

  4. plugins =
    {

    — key is the name passed to Lua’s ‘require()’
    [“plugin.zip”] =
    {
    — required
    publisherId = “com.coronalabs”,
    },
    }
    — I am using zip plugin in my app for download files from cloud.This is working well with Android But Error in making build for iPhone.
    — it shows ” null! ” in pop up after completion of build.
    — If i remove plugin table from my build.settings then it will not give error but zip file handling is not working.
    — Please give me a solution ,if anyone have successfully implement zip plugin in iPhone.

    Thank you in advance.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>