Skip to content

Commit

Permalink
Merge pull request #2 from houtzager/main
Browse files Browse the repository at this point in the history
Update major Alamofire version
  • Loading branch information
enciyo authored Jun 1, 2022
2 parents c107405 + 481db4b commit 069bd8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FlipperMockPlugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Pod::Spec.new do |spec|
spec.static_framework = true
spec.dependency 'YogaKit'
spec.dependency 'Yoga'
spec.dependency 'Alamofire'
spec.dependency 'Alamofire', '~> 5.0'
spec.dependency 'FlipperKit/Core'
spec.compiler_flags = folly_compiler_flags
spec.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
Expand Down
4 changes: 2 additions & 2 deletions FlipperMockPlugin/src/FlipSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import Alamofire

public class FlipSession {

public static let `default` : SessionManager = {
public static let `default` : Session = {
let configuration: URLSessionConfiguration = {
let configuration = URLSessionConfiguration.default
let safeProtocolClasses = [FlipMockUrlProtocol.self] + (configuration.protocolClasses ?? [])
configuration.protocolClasses = safeProtocolClasses
return configuration}()
return SessionManager(configuration:configuration)}()
return Session(configuration:configuration)}()

/**
# Warning: #
Expand Down

0 comments on commit 069bd8e

Please sign in to comment.