Skip to content

[iOS] Requests are logged in Console UI but stuck on Pending #323

Open
@kelvinharron

Description

@kelvinharron

Hey! 👋

Thank you for this fantastic piece of work! We considered building something like this last year but figured we'd do fine with postman, proxy man and the console which doesn't suit our regular users in mob testing. I have an issue I'd like to share that seems to have been a problem before based on issues.

I have integrated Pulse 5.1.3 for our iOS 18 app through Tuist, defining both the UI and core SDK as dynamic frameworks. At runtime on Simulator and device, I can swipe up to show the view and the URLs we hit are recorded, but it is forever stuck on pending. I assumed that my integration is correct (below snippet is using Factory):

var apiClient: Factory<BaseApiClient> {
    self {
        ApiClient(urlSession: self.urlSession.resolve())
    }
    .singleton
}

var urlSession: Factory<URLSession> {
    self {
        #if DEBUG
        return URLSessionProxy(configuration: .default).session
        #else
        return URLSession.shared
        #endif
    }
    .singleton
}

Do you have any guidance on how to solve the issue? I saw this and assumed I assumed that option 1 would take care of the response handling. I can confirm the requests are succeeding too. Let me know what I can do to help document the issue! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions