Help Center/Details/

Initialize SDK

You must Initialize SDK with the app id before loading ads. Pangle Unity Plugin also provides a callback for sdk Initialization. You need to define a callback method with 2 parameters: (bool success, string message), and pass the callback to the init method.

Define the init callback

private static void initCallback(bool success, string message)
{
   Debug.Log("initCallback: " + success + ", message: " + message);
}

Initialize SDK with the appid, pass the callback to the init method.

PangleConfiguration configuration = PangleConfiguration.CreateInstance();
 
configuration.appID = "your app id";  
     
Pangle.InitializeSDK(callbackmethod);
Did the content solve your problem?