The documentation and sample app show Intercom.setAPIKey being called from a Scene delegate. I would prefer not to configure that for my SwiftUI App if I don’t have to. In addition, we normally do not compile keys like this into our App, instead preferring to fetch them from the server.
Are there any restrictions on when I call Intercom.setAPIKey? Does it have to be called on the main thread? Do I have to call setAPIKey from the Scene delegate? Can I wait to call it until after the user has logged in and communicated with our server to fetch the API key as long as I don’t call any other Intercom calls before that?
Thanks,
Tom