While Alamofire technically supports background URLSessions, it currently cancels and invalidates the session when SessionManagers are deinited, which breaks background functionality. Alamofire should have real background support, which will likely require a completely new API model, as the closure based one currently used may not work well.
@jshier Any idea how you want to see this implemented or any plan for how to make room for it? It's a frustrating feature gap.
Hi Team,
Have a query related to initialisation session with configuration in Alamofire" ~> 5.0.0-rc.2.
we are initialising the session manager with below code:
self.sessionManager = Alamofire.Session.init(configuration: config, rootQueue: queue, startRequestsImmediately: true).
But when running the app, it got crashed saying,
"Alamofire was compiled with optimization - stepping may behave oddly; variables may not be available."
Is there any new API for initialising the session with configuration parameters.
Most helpful comment
@jshier Any idea how you want to see this implemented or any plan for how to make room for it? It's a frustrating feature gap.