public void Start() { AndroidJNIHelper.debug = false; // Just for debug mode and testing AbrStudio.EnableDebug(); // Comment this line for production // First of all you have to initialize the AbrStudio sdk using your app's API & Sign key. AbrStudio.Initialize(ApiKey, SignKey); /* * You have to call AbrStudioIab#Start function before doing anything else related to in-app-billing. */ AbrStudioIab.Start(IabPublicKey, successInit, failedInit); }
public void Start() { AndroidJNIHelper.debug = false; // Just for debug mode and testing AbrStudio.EnableDebug(); // Comment this line for production // First of all you have to initialize the AbrStudio sdk using your app's API & Sign key. AbrStudio.Initialize(ApiKey, SignKey); /* * You have two options for getting notified about ad reward: * 1. Setting one global reward callback action (This function) * 2. Provide callback action for each show ad separately. * */ AbrStudioAd.SetRewardCallback(globalRewardAction); }