Upstra UIKit error for setting an API key

I tried using UIKit on iOS by calling it through SwiftUI - im getting the following error while I’ve already inited the API Key in my app delegate

UpstraUIKit requires 2 initializing functions consist of…

  1. UpstraUIKitManager.setup("API_KEY")
  2. UpstraUIKitManager.registerDevice(withUserId: "USER_ID", displayName: "USER_NAME").

Otherewise, Upstra’s ui components will not be working and causes crashing issue.