Posted on by


It’s the end of the world as we know it.
It’s the end of the world as we know it.
It’s the end of the world as we know it and I feel fine.

REM
It's The End Of The World by R.E.M. on Grooveshark

twitter popup in coronaToday was supposed to be the end of the world, so if you’re reading this, you survived!

To celebrate, I wanted to talk about some early holiday gifts that Corona Labs is sending your way.

We just made available a couple of cool new features in Corona SDK‘s daily build 992. These features were made possible by Project Gluon, which as you may recall from last week, enables Corona plugins.

When I first announced plugins and Project Gluon, one of you expressed the following:

Project Gluon has the potential to be a revolutionary development for the Corona SDK

That sentiment is spot on. We fixed a lot of internal plumbing so that we could make our own lives easier and get stuff done — faster. In other words we “coronified” how we can get more features into your hands.

This week, we’ve been “eating our own dog food” to write plugins that all of you can take advantage of.

I’ll highlight two of the plugins that are now pre-baked into Corona SDK core (and are optional add-ons for Corona Enterprise):

Twitter

First, we integrated the Apple’s Twitter framework for iOS (i.e. TWTweetComposeViewController). This framework creates a nice UIKit interface for posting new tweets. You can set a default message that appears on the interface and even attach images.

This functionality is available via the following call:

native.showPopup( "twitter" )

And there’s more information on how to attach documents, getting an event when the 140 character limit is reached, etc in our daily build API docs.

iAds

Second, we’ve added support for iAds. Yes, iAds. On all iOS devices, you can show a banner ad like this one:

Corona and iAds

On iPad, you’ll also have the option to get interstitial (fullscreen) ads.

We’ve updated the daily build API docs to show you how to access this and also have a new iAds sample.

[UPDATE] As iAds is preliminary, please post your issues in this forum: http://developer.coronalabs.com/forum/2012/12/22/iads

* * *

One of the things that didn’t survive the end of the world was OpenFeint. Gree shutdown OpenFeint‘s servers on Dec 14, so we’re removing it from Corona. We’re happy we’re able to do this because Gree added a lot of weight to the device builds. This was especially true for trial builds which will look a lot slimmer.

Now with OpenFeint gone, where does that leave you?

Well, we still think the world needs a great cross-platform service to make your lives easier. And with last week’s announcement of Corona Cloud, we’ve got some ideas on how we can help you solve these problems.

So on that note and on behalf of the team, happy holidays and happy new year!

Photo
Posted by . Thanks for reading...

17 Responses to “Spreading some holiday cheer with new Corona features!”

  1. Chris

    In the iADs sample, when you click on the banner the ad rotates to landscape and when you shut the ad the app is rotated wrongly, any work around for this?

    Reply
  2. Chris

    In the iADs sample, when on the iPad, when you click on the banner the ad rotates to landscape and when you shut the ad the app is rotated wrongly, any work around for this?

    Reply
  3. Antheor

    Great News !

    BTW, I tried your “We’re happy we’re able to do this because Gree added a lot of weight to the device builds.” :
    from 971 to 992 my build goes from 4.8 to 5.1 mo
    This is not lighter ….

    Reply
  4. tom bladko

    would be nice to have two things for those features:

    - add also a native “follow me” popup to twitter, this is very simple if you can a twit
    - add a simple way to detect country where iAD is displayed because it does not work outside those selected countries. Devs could use event.enabled in listener to display other ad in countries outside :)

    Have a great x-mas !! This is best x-mas gift ever ;-)

    Tom

    Reply

Leave a Reply

  • (Will Not Be Published)