These guides below are provided to ease the transition of existing applications using the SumUp mPOS SDK from one version to another that introduces breaking API changes.
Please follow the steps in the 4.0.0-beta.1 Migration Guide](#sumup-mpos-SDK-400-beta1-migration-guide).
In addition payment options provided when creating a checkout request will be ignored and default to .any
.
Options presented will be governed by merchant settings.
Please use -[SMPCheckoutRequest requestWithTotal:title:currencyCode:]
to create a checkout request.
With the transition to dynamic frameworks and XCFrameworks, the integration became easier and some previously required steps should be reverted.
- Remove
SumUpSDK.embeddedframework
from theLink Binary With Libraries
build step. - Remove the
SMPSharedResources.bundle
from theCopy Bundle Resources
build step. - Continue with the installation.
Update the pod version in the Podfile (pod 'SumUpSDK', '~> 4.0.0-beta.1'
) and run pod install
.
We have made no changes to requried permissions from v3.5. You might still want to double check your required Info.plist keys.
- Update the SDK via Carthage
- Remove
SumUpSDK.embeddedframework
from theLink Binary With Libraries
build step. - Remove the
SMPSharedResources.bundle
from theCopy Bundle Resources
build step. - Continue with the installation.