Releases: sumup/sumup-ios-sdk
Releases · sumup/sumup-ios-sdk
3.2: Style updated to match our iOS app v2.0
- [UPDATE] Style updated to match our iOS app v2.0
- [UPDATE] Base SDK updated to iOS 12, built with Xcode 10.1
- [IMPROVEMENT] Location permissions are handled when presenting the login view controller. The merchant is asked to grant location permissions if needed and restricted from logging in when denied.
- [IMPROVEMENT] Added a section to the README on how to integrate with Carthage. Heavily inspired by Zyphrax's help in PR #42 addressing issue #37.
- [BUGFIX] Fix a crash in checkout when trying to use an audio connection to a PIN+ or C&S readers when microphone permissions have been denied.
- [ADDED] Added support for the SumUp 3G reader
3.2b1: Style updated to match our iOS app v2.0
- [UPDATE] Style updated to match our iOS app v2.0
- [UPDATE] Base SDK updated to iOS 12, built with Xcode 10.1
- [IMPROVEMENT] Location permissions are handled when presenting the
login view controller. The merchant is asked to grant location
permissions if needed and restricted from logging in when denied. - [IMPROVEMENT] Added a section to the README on how to integrate with Carthage. Heavily inspired by Zyphrax's help in PR #42 addressing issue #37.
- [BUGFIX] Fix a crash in checkout when trying to use an audio
connection to a PIN+ or C&S readers when microphone permissions have
been denied.
3.1: Deployment target raised to iOS 9
- [CHANGED] If you integrate the SDK manually, please link to the
ExternalAccessory framework - [UPDATE] Deployment target raised to iOS 9.0
- [CHANGED] The login mask does not show the "Reveal password" button anymore
- [ADDED] SumUp Air Register support
- [IMPROVEMENT] Dedicated error code for currency mismatches – please refer
to our README for hints regarding correct currency handling - [IMPROVEMENT] Populate NSLocalizedDescriptionKey in SDK errors – you can still access
NSUnderlyingErrorKey for more details regarding the underlying error - [ADDED] New currency code constant (CLP) and new languages (es-CL, et)
3.0: Support for iPhone X
- [UPDATE] Update target SDK to iOS 11, deployment target raised to iOS 8.0
- [REMOVED] Drop support for audio connection to first generation PIN+ devices.
This implies that theYTLibResources.bundle
has been removed. - [IMPROVEMENT] Add module map for Swift integration without bridging headers
- [IMPROVEMENT] Prefer readonly properties over methods to improve Swift signatures
- [ADDED] Add CocoaPods integration support – use
pod SumUpSDK
in your Podfile
Sample application:
- [UPDATE] Update deployment target of Obj-C app to iOS 8
- [UPDATE] AVFoundation is linked as required since weak linking was only needed
when running on iOS 5 - [IMPROVEMENT] Swift sample app uses modular imports instead of bridging headers
3.0b2: Target SDK iOS 11, deployment target iOS 8
- Added module map for Swift integration without bridging headers inspired by #42
3.0b1: Target SDK iOS 11, deployment target iOS 8
- Drop support for audio connection to first generation PIN+ devices.
This implies that theYTLibResources.bundle
has been removed. - Add CocoaPods support, see SumUpSDK.podspec
Sample application:
- Update deployment target of Obj-C app to iOS 8
- AVFoundation is linked as required as weak linking was only needed
when running on iOS 5
Transition Guide to 3.0
When improving imported Swift names we took the opportunity to rename
and prefix some classes and enums. We've also renamed the SDK to
SumUpSDK to make it easier to integrate with CocoaPods.
Migrating your code base is easy.
- Remove the
SumupSDK.embeddedframework
and add the new
one calledSumUpSDK.embeddedframework
. - Rename your imports
<SumupSDK/SumupSDK.h>
to<SumUpSDK/SumUpSDK.h>
- Rename all occurrences of
SumUpCompletionBlock
toSMPCompletionBlock
- In Obj-C: rename all case-sensitive occurrences of
SumupSDK
toSMPSumUpSDK
- In Swift: rename all case-sensitive occurrences of
SumupSDK
andSMPSumupSDK
toSumUpSDK
Fix a crash on iPad Pro
Fix layout issues when building against iOS 11
- [IMPROVEMENT] Fix layout issues in login and checkout when building
against iOS 11 - [IMPROVEMENT] Add comment to point out that
setupWithAPIKey:
needs to be called on the main thread.
See #46
Add option add tip and skip the success screen
- [IMPROVEMENT] Support for future SumUp terminal.
- [ADDED] Add
SMPSkipScreenOptions
to allow for skipping the screen
shown at the end of a successful transaction. - [ADDED] Add
-[SMPCheckoutRequest tipAmount]
to provide an additional
tip amount to be added to the total in checkout.
Sample application:
- [ADDED] Add option to skip the receipt screen by setting the
appropriateSMPSkipScreenOptions
of the checkout request. - [ADDED] Add option to specify tip amount.
- [IMPROVEMENT] Convert to Auto Layout
Add method to prepare a checkout
- [BUGFIX] Fix a crash when trying to re-connect to an Air/PIN+ terminal,
see issue #33 - [ADDED] Add
+[SumupSDK prepareForCheckout]
to prepare the SDK when a
checkout attempt is imminent. - [ADDED] Add
+[SumupSDK testSDKIntegration]
to validate your integration.
Please do not call in Release builds but only in development. - [IMPROVEMENT] Speed up wake on Bluetooth
- [IMPROVEMENT] Fix an issue where subsequent checkout attempts would keep
failing when BT connection to Air/PIN+ Terminal has been lost during checkout
Sample application:
- [ADDED] Tapping "Next" on the keyboard when entering an amount will wake a
connected terminal by calling+[SumupSDK prepareForCheckout]
. - [ADDED] Run
+[SumupSDK testSDKIntegration]
when building in
Debug configuration.