diff --git a/README.md b/README.md
index e7878b48e..9b1298956 100644
--- a/README.md
+++ b/README.md
@@ -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:
diff --git a/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/Info.plist b/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/Info.plist
index ac027c84d..0b0185acf 100644
--- a/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/Info.plist
+++ b/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.2.0
+ 4.2.1
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass
diff --git a/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/OAuthMobile.swift b/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/OAuthMobile.swift
index 0f7d0571c..37948396f 100644
--- a/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/OAuthMobile.swift
+++ b/Source/SwiftyDropbox/Platform/SwiftyDropbox_iOS/OAuthMobile.swift
@@ -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;
}
diff --git a/Source/SwiftyDropbox/Platform/SwiftyDropbox_macOS/Info.plist b/Source/SwiftyDropbox/Platform/SwiftyDropbox_macOS/Info.plist
index 2650fe6a5..8a13019d5 100644
--- a/Source/SwiftyDropbox/Platform/SwiftyDropbox_macOS/Info.plist
+++ b/Source/SwiftyDropbox/Platform/SwiftyDropbox_macOS/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.2.0
+ 4.2.1
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSHumanReadableCopyright
diff --git a/Source/SwiftyDropbox/Shared/Handwritten/SDKConstants.swift b/Source/SwiftyDropbox/Shared/Handwritten/SDKConstants.swift
index a93547066..d289d06da 100644
--- a/Source/SwiftyDropbox/Shared/Handwritten/SDKConstants.swift
+++ b/Source/SwiftyDropbox/Shared/Handwritten/SDKConstants.swift
@@ -5,5 +5,5 @@
import Foundation
struct Constants {
- static let versionSDK = "4.2.0"
+ static let versionSDK = "4.2.1"
}
diff --git a/SwiftyDropbox.podspec b/SwiftyDropbox.podspec
index 2a34536e2..f3b649dbe 100644
--- a/SwiftyDropbox.podspec
+++ b/SwiftyDropbox.podspec
@@ -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'