import UIKit
import R89SDK
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// This is for testing purposes, remove it on prod
R89SDK.shared.setLogLevel(level: LogLevels.debug)
// This is for testing purposes, remove it on prod
R89SDK.shared.setDebug() // This is for testing purposes, remove it on prod
R89SDK.shared.initialize(
publisherId: "TestRefinery89ID", // This is for testing purposes, remove it on prod// publisherId and appId are for testing purposes, remove it on prod
R89SDK.shared.initialize(
appIdpublisherId: "TestDemoAppTestRefinery89ID",
// This is for testing purposes, remove it on prodappId: "TestDemoApp",
singleLine: false,
publisherInitializationEvents: nil
)
return true
}
} |