...
Code Block | ||
---|---|---|
| ||
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() addTestingSingleTagData() /* This is a later step */ R89SDK.shared.initialize( publisherIdpubUUID: "TestPublisherIDTestRefinery89UUID", /* This is for testing purposes, change it on prod */ appIdapiKey: "TestAppIdTestRefinery89ApiKey", /* This is for testing purposes, change it on prod */ singleLine: true, publisherInitializationEvents: nil) return true } } |
Info |
---|
Your |
Note |
---|
This |
...
Remove the methods
R89SDK.shared.setDebug()
.Change the
GADApplicationIdentifier
in theinfo.plist
for the production one.Change the
appId
pubUUID
andpublisherId
apiKey
in the initialization method for the production ones.it’s also recommended to remove
R89SDK.shared.setLogLevel(level: LogLevels.debug)
but not needed.
...