cordova-plugin-chartboost
Chartboost ads for Apache Cordova
WARNING: This plugin available only for iOS.
Install plugin
$ cordova plugin add cordova-plugin-chartboost
Methods
Chartboost.startWithAppId(appID, appSignature)
Initial method wich connect to Chartboost.
(string) appID - the appID of your app in Tapjoy Dashboard.
(string) appSignature - the appKey of your app in Tapjoy Dashboard.
Chartboost.setCustomId(customID)
Set a custom identifier to send in the POST body for all Chartboost API server requests.
(string) customID
Chartboost.downloadRewardedVideo()
Downloads rewarded video.
Chartboost.showRewardedVideo()
Show rewarded video, when success event was emitted.
Events
document;
document;
document;
Example
let appID = 'MyAppID';let appSignature = "MyAppSignature"; Chartboost;Chartboost; document; document; document;