Skip to content

Commit

Permalink
Merge branch 'release/3.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyGuiguen committed Sep 7, 2020
2 parents 78e9526 + 153f022 commit 8b74b46
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## 3.1.1
* Fix - Set waitsForConnectivity in URLSessionConfiguration
[Anthony GUIGUEN](https://https://github.com/anthonyGuiguen)
[#36](https://github.com/Insurlytech/zetapush-swift/pull/34)

## 3.1.0
* Errors - Create recorder for sharing important errors
* Errors - Refact error to be more precise on the failure
Expand Down
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/Insurlytech/CometDClient-iOS.git",
"state": {
"branch": null,
"revision": "44ce6ecd3594a670ea59d375ff69af4c090d0edb",
"version": "1.1.0"
"revision": "335f7034817cd4610bda0c79dbd8fc05336aa7b6",
"version": "1.1.1"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(name: "CometDClient", url: "https://github.com/Insurlytech/CometDClient-iOS.git", .upToNextMajor(from: "1.1.0")),
.package(name: "CometDClient", url: "https://github.com/Insurlytech/CometDClient-iOS.git", .upToNextMajor(from: "1.1.1")),
// .package(name: "CometDClient", path: "../CometDClient-iOS"), //AGU
.package(url: "https://github.com/hkellaway/Gloss.git", .upToNextMajor(from: "3.1.0")),
.package(url: "https://github.com/mxcl/PromiseKit", .upToNextMajor(from: "6.13.1")),
Expand Down
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Check out [Get Started](http://cocoapods.org/) tab on [cocoapods.org](http://coc

To use ZetaPushNetwork in your 'Podfile':

pod 'ZetaPushNetwork', '~> 3.0.0'
pod 'ZetaPushNetwork', '~> 3.1.1'

Then run:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ class ServerRemoteDataSource {
let configuration = URLSessionConfiguration.default
configuration.timeoutIntervalForRequest = timeout
configuration.timeoutIntervalForResource = timeout * 3
configuration.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData
if #available(iOS 11.0, *) {
configuration.waitsForConnectivity = true
}

self.session = URLSession(configuration: configuration)
}
Expand Down
2 changes: 1 addition & 1 deletion ZetaPushNetwork.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |spec|
spec.name = "ZetaPushNetwork"
spec.version = "3.1.0"
spec.version = "3.1.1"
spec.summary = "Swift client for ZetaPush"
spec.description = <<-DESC
Swift client for ZetaPush
Expand Down

0 comments on commit 8b74b46

Please sign in to comment.