Skip to content

Commit

Permalink
Moved testMode initializer to after creation of the helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansligh-nimbus committed Dec 9, 2024
1 parent 7f78ab5 commit 4fa8336
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4fa8336

Please sign in to comment.