Air Native Extension (iOS and Android) for Burstly's SkyRocket SDK
Objective-C Java C ActionScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
actionscript/src/com/freshplanet/ane/AirBurstly
android
bin
build
ios
.gitignore
LICENSE
NOTICE
README.md

README.md

Air Native Extension for Burstly SkyRocket (iOS + Android)

This is an Air native extension for Burstly SkyRocket SDK on iOS and Android. It has been developed by FreshPlanet and is used in the game SongPop.

SkyRocket SDK

This ANE includes the following versions of the SkyRocket SDK:

  • iOS: 2.5
  • Android: 1.29

It only supports displaying a bottom banner and/or a fullscreen interstitial.

Installation

The ANE binary (AirBurstly.ane) is located in the bin folder. You should add it to your application project's Build Path and make sure to package it with your app (more information here).

Usage

// Initialize Burstly
Burstly.getInstance().init("MY_BURSTLY_APP_ID", "MY_BURSTLY_BANNER_ZONE_ID", "MY_BURSTLY_INTERSTITIAL_ZONE_ID");

// Show the banner
Burstly.getInstance().showBanner();

// Hide the banner
Burstly.getInstance().hideBanner();

// Check if an interstitial is pre-cached
Burstly.getInstance().isInterstitialPreCached();

// Cache the interstitial
Burstly.getInstance().cacheInterstitial();

// Show the interstitial
Burstly.getInstance().showInterstitial();

Build script

Should you need to edit the extension source code and/or recompile it, you will find an ant build script (build.xml) in the build folder:

cd /path/to/the/ane/build
mv example.build.config build.config
#edit the build.config file to provide your machine-specific paths
ant

Authors

This ANE has been written by Alexis Taugeron. It belongs to FreshPlanet Inc. and is distributed under the Apache Licence, version 2.0.