SupersonicAds plugin for ios.
Configurations:
-
Get the supersonicads sdk and extract.
-
Drag the SSASDKlibs to your project.
-
Drag the plugin files to your plugins folder. (SupersonicAdsPlugin.h and SupersonicAdsPlugin.m)
-
Drag the plugin js file into you www folder.
-
SupersonicAdsPlugin.m set your app key in this line: NSString* APPKEY = @"here_set__the_app_key"; 6
-
That it.
initBrandConnect: function (userid, success, fail) showBrandConnect: function (success, fail) showOfferWall: function (userid, success, fail)
// function()
onBrandConnectDidInitWithCampaignInfo: null,
// function()
onBrandConnectDidFailInitWithError: null,
// function()
onBrandConnectWindowWillOpen: null,
// function()
onBrandConnectWindowDidClose: null,
// function()
onBrandConnectDidFinishAd: null,
// function()
onBrandConnectNoMoreOffers: null,
// function()
onOfferWallClosed: null,