Skip to content

Releases: dropbox/dropbox-sdk-obj-c

Small improvements

28 Apr 21:17
Compare
Choose a tag to compare

Adds

  • Convert auth tokens on defined NSOperationQueues.
  • Improves dismiss view controller logic.
  • Updated README to include links to documentation.

Fixes

  • Removes iOS 8 from podspec.
  • Adds uploadsInProgress method to batch upload method.

Fixed operation queue regression

28 Apr 21:15
Compare
Choose a tag to compare

Fixes

  • Fixed regression where default queue is no longer main queue (sorry all for this regression!).
  • Defined explicit queues for OAuth 1 token conversion.
  • Added isEqual and hash logic to generated API datatypes.
  • Fix controller dismiss logic.
  • Improved partner openWithInfoFromURL: method to perform scheme check.

Use non-main queue as default for network response dispatch

14 Apr 00:49
Compare
Choose a tag to compare

Fixes

  • Use non-main queue as default for network response dispatch.

Fixed `asAccessError` interface bug

13 Apr 20:32
Compare
Choose a tag to compare

Fixes

  • asAccessError method interface bug.
  • Removed remnants of iOS 8 forked code.

Dropped iOS 8 support

13 Apr 17:53
Compare
Choose a tag to compare

iOS 8 usage now constitutes less than 3% of all iOS users. Supporting it with our new auth flow is proving to be challenging, so we have dropped support for iOS 8.

Changed

  • Fixed CocoaPods bug where SafariServices was being included in macOS target.
  • Dropped iOS 8 support to accommodate new SFSafariViewController auth flow.
  • No longer Build Active Architecture on debug mode for Carthage project.

3.0.11

11 Apr 22:54
Compare
Choose a tag to compare

Breaking change

  • Changed type of inputUrl to NSString (from NSURL) for all file uploads.

Added

  • Support for SFSafariViewController and remove browser auth option.
    • Google is dropping support for "Sign in with Google" via WebViews, so we are forcing our users on iOS to use the WebView-like SFSafariViewController (or an external browser on iOS 8), and for macOS, an external browser.
    • Accordingly, authorizeFromController:controller:openURL:browserAuth has been changed to authorizeFromController:controller:openURL.

Fixes

  • Fixed rotation bug for OAuth page.
  • Fixed Carthage scheme bug where debug builds were being built, not release builds.
  • Added copy attribute to nullable property fields.
  • Added nil check in route data serialization.

Improved OpenWith partner logic

04 Apr 16:59
Compare
Choose a tag to compare

Added

  • openWithInfoFromURL convenience class method in DBOfficialAppConnector for official third-party partners.
  • API datatypes now implement NSCopying, so they can be used as dictionary keys now.
  • init is now marked as NS_UNAVAILABLE in API datatypes.
  • Convenience imports added to user / team / app clients (not applicable if using umbrella header).

Fixed memory leak and expanded `DBClientsManager`

03 Apr 17:44
Compare
Choose a tag to compare

Added

  • In DBClientsManager, renamed reauthorizeClient/reauthorizeTeamClient to authorizeClientFromKeychain authorizeTeamClientFromKeychain.
  • In DBClientsManager, removed resetClients.

Fixed

  • Memory leak in DBSDKKeychain.

Thread-safety and Multi-user improvement

30 Mar 22:43
Compare
Choose a tag to compare

Added

  • SDK is now thread-safe. You may make requests from any thread. Please reach out to us if you notice any bugs.
  • Support for having multiple Dropbox users at once is much more robust. See documentation here for more details.

Added convenience methods to `DBClientsManager`

29 Mar 22:05
Compare
Choose a tag to compare

Added

  • userClientFromTokenUid and teamClientFromTokenUid to DBClientsManager which are both useful in the multi-account use-case.

Fixed

  • Missing DBGlobalErrorResponseHandler.h Carthage bug.