dropbox-sdk-obj-c icon indicating copy to clipboard operation
dropbox-sdk-obj-c copied to clipboard

[BLOCKER][Devastating] How to support iOS 8 / deployment target of iOS 8 with API v2 SDK?

Open githubgitgit opened this issue 8 years ago • 4 comments

The new SDK doesn't support iOS 8 (requirements state iOS 9+). Yet the v1 API is going to be turned off on June 28th. What is this? How is this acceptable behavior?

I'm only interested in using the simple "upload" functionality of Dropbox SDK. How to support iOS 8 with the v2 API SDK for Objective C? Please help. Dropping support for iOS 8 is not an option.

githubgitgit avatar May 18 '17 12:05 githubgitgit

iOS 9 became the minimum deployment target in release 3.0.12. You could try one of the previously tagged releases, e.g. git checkout 3.0.11

https://github.com/dropbox/dropbox-sdk-obj-c/releases

YMMV, but I was using an earlier release to support iOS 8 until very recently, worked alright in our device testing.

billymeltdown avatar May 18 '17 13:05 billymeltdown

Thanks for the feedback @appsaleslover . I'll send this along to the team.

BIlly is correct, support for iOS 8 was dropped in 3.0.12, so you should be able to use 3.0.11 if you do need support for iOS 8.

Alternatively, there are some third party libraries that may support older versions of iOS.

greg-db avatar May 18 '17 18:05 greg-db

Hi! According to the podspec file history, the support to iOS 8 was dropped in 3.0.16.

I was wondering if that should have increased the major version number, given that it breaks compatibility. Otherwise, if one is using CocoaPods and has pod 'ObjectiveDropboxOfficial', '~> 3.0', a simple pod install will throw a lot of errors.

What was the change that required to drop support to iOS 8? Maybe it's something the community can help to work around while keeping support. Thanks!

gobetti avatar Sep 11 '17 03:09 gobetti

@gobetti Thanks for the feedback, and apologies for the trouble.

The actual functionality relevant to this change was the introduction of the use of SFSafariViewController in the app authorization flow.

greg-db avatar Sep 11 '17 14:09 greg-db