Skip to content

Commit

Permalink
4.2.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cobbe committed Oct 11, 2017
1 parent 6d979e4 commit ca9797c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ To install the Dropbox Swift SDK via Carthage, you need to create a `Cartfile` i

```
# SwiftyDropbox
github "https://github.com/dropbox/SwiftyDropbox" ~> 4.2.0
github "https://github.com/dropbox/SwiftyDropbox" ~> 4.2.1
```

Then, run the following command to install the dependency to checkout and build the Dropbox Swift SDK repository:
Expand Down
2 changes: 1 addition & 1 deletion Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0</string>
<string>4.2.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,7 @@ open class MobileSafariViewController: SFSafariViewController, SFSafariViewContr
var cancelHandler: (() -> Void) = {}

public init(url: URL, cancelHandler: @escaping (() -> Void)) {
if #available(iOS 11.0, *) {
let config = SFSafariViewController.Configuration()
config.entersReaderIfAvailable = false
super.init(url: url, configuration: config)
} else {
super.init(url: url, entersReaderIfAvailable: false)
}

super.init(url: url, entersReaderIfAvailable: false)
self.cancelHandler = cancelHandler
self.delegate = self;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0</string>
<string>4.2.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/SwiftyDropbox/Shared/Handwritten/SDKConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
import Foundation

struct Constants {
static let versionSDK = "4.2.0"
static let versionSDK = "4.2.1"
}
2 changes: 1 addition & 1 deletion SwiftyDropbox.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SwiftyDropbox'
s.version = '4.2.0'
s.version = '4.2.1'
s.summary = 'Dropbox Swift SDK for API v2'
s.homepage = 'https://dropbox.com/developers/'
s.license = 'MIT'
Expand Down

0 comments on commit ca9797c

Please sign in to comment.