From 4fa83363dc4342bec0452716636f04184d78c102 Mon Sep 17 00:00:00 2001 From: Jonathan Sligh Date: Mon, 9 Dec 2024 14:14:26 -0600 Subject: [PATCH] Moved testMode initializer to after creation of the helper. --- com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift b/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift index 48970f1e..8e422c76 100644 --- a/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift +++ b/com.adsbynimbus.nimbus/Runtime/Plugins/iOS/NimbusManager.swift @@ -63,8 +63,8 @@ import NimbusSDK #if NIMBUS_ENABLE_APS @objc public class func initializeAPSRequestHelper(appKey: String, timeoutInSeconds: Double, enableTestMode: Bool) { - DTBAds.sharedInstance().testMode = enableTestMode apsRequestHelper = NimbusAPSRequestHelper(appKey: appKey, timeoutInSeconds: timeoutInSeconds) + DTBAds.sharedInstance().testMode = enableTestMode } @objc public class func addAPSSlot(slotUUID: String, width: Int, height: Int, isVideo: Bool) {