Skip to content

Commit

Permalink
removed temp constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Dec 1, 2023
1 parent 0c291d5 commit 6729027
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Sources/MessagingInApp/MessagingInAppImplementation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@ class MessagingInAppImplementation: MessagingInAppInstance {
initialize()
}

// TODO: temp constructor to make the SDK build remove it
init(diGraph: DIGraph) {
self.moduleConfig = MessagingInAppConfigOptions(siteId: "", region: Region.US)
self.logger = diGraph.logger
self.queue = diGraph.queue
self.jsonAdapter = diGraph.jsonAdapter
self.inAppProvider = diGraph.inAppProvider
self.profileStore = diGraph.profileStore
self.threadUtil = diGraph.threadUtil
}

private func initialize() {
inAppProvider.initialize(siteId: moduleConfig.siteId, region: moduleConfig.region, delegate: self)

Expand Down

0 comments on commit 6729027

Please sign in to comment.