sumup 0.15.3
sumup: ^0.15.3 copied to clipboard
Flutter wrapper to use the SumUp SDK. With this plugin, your app can easily connect to a SumUp terminal, login and accept card payments on Android and iOS.
0.15.3 #
- Includes 0.15.0, 0.15.1 and 0.15.2 below, which were never published to pub.dev.
- Lockfiles refreshed (
vector_math2.4.4,vm_service15.4.0). - Releases are now published from GitHub Actions on version tags.
0.15.2 #
- Dependency upgrade via
flutter pub upgrade --major-versions: no direct constraint changes were needed; the plugin and example lockfiles were refreshed (vector_math2.4.2→2.4.3, transitive). No Dart, Android or iOS source changes; the Tap-to-Pay/Android Maven setup is unchanged.
0.15.1 #
- Android: migrate to Built-in Kotlin (AGP 9.0 compatible); fixes #81. The plugin no longer applies
the Kotlin Gradle Plugin (KGP) the legacy way (dropped its own
buildscriptKGP classpath and theapply plugin: 'kotlin-android') and instead relies on Flutter's built-in Kotlin, keeping thekotlin { compilerOptions { jvmTarget = JVM_17 } }DSL block. This removes Flutter's KGP deprecation warning ("plugins that apply Kotlin Gradle Plugin (KGP): sumup") for consuming apps. The example app'sapp/build.gradlewas likewise migrated (removedorg.jetbrains.kotlin.android). Minimum Flutter 3.44 / Dart 3.12 (already required) is unchanged.
0.15.0 #
- Upgrade native SDKs: Android Reader
7.1.0, Android Tap-to-Pay1.1.5, and iOS7.1.2. - Raise the supported toolchain to Flutter 3.44+, Dart 3.12+, Android target SDK 36, AGP 9.2.1, Gradle 9.5.1, Java 17, Xcode 26.2+, and iOS 16.
- Android: upgrade to Kotlin 2.4.0 using Flutter 3.44's temporary AGP 9 compatibility mode,
update the Compose BOM to
2024.09.00, and enable core-library desugaring required by Tap-to-Pay. - Android: keep minSdk 26 for card-reader-only builds and select minSdk 30 only when both Tap-to-Pay Maven credentials are configured.
- Android: support Tap-to-Pay credentials through Gradle properties or environment variables, without tracked placeholder credentials in the example.
- Android Tap-to-Pay: include tips in
totalAmountand convert amounts to minor units without floating-point truncation. - iOS: replace deprecated SDK entry points, preserve decimal precision, and omit a zero tip from checkout requests.
- Enable Swift Package Manager in the example and align all iOS deployment targets to 16.
- Fix and expand Dart/example tests.
Android SDK 7.1.0 changes internal state in a backward-incompatible way. After running an app with this version, downgrading that installation to a plugin backed by an older Android SDK is not supported.
Before downgrading from iOS SDK 7.1.2, upload all pending Offline Payments. If a downgrade is unavoidable, upload them first, delete the app, and then install the older version.
0.14.3 #
- Android: declare the Compose BOM (
androidx.compose:compose-bom:2023.06.01) explicitly (#78). The SumUpmerchant-sdk:6.0.0→txresult:6.0.0transitive dependency references Compose artifacts (material,material3,material3-window-size-class,ui-tooling-preview) WITHOUT versions, expecting that BOM; some consumer Gradle setups didn't apply the transitive BOM and failed withCould not find androidx.compose...:.on:sumup:debugCompileClasspath. The BOM is now pinned to the exact version merchant-sdk targets and exposed viaapiso both the plugin and consumers get consistent Compose version constraints.
0.14.2 #
- Android: make Tap-to-Pay (
utopia-sdk) optional, keyed on theSUMUP_TTP_MAVEN_USERNAMEGradle property (#74). When the property is absent, the plugin compiles a no-opTapToPayRunnerstub (src/nottp) and never contacts the private SumUp Tap-to-Pay Maven repo, so consuming apps and CI build without partner credentials (previously a hard401onutopia-sdk). When the property is present, the real implementation (src/ttp) and theutopia-sdkdependency are compiled in. The card-reader (merchant-sdk) checkout path is unchanged in both modes.
0.14.1 #
- Android: propagate
affiliateDatain Tap-to-Pay checkout (#68) - Android: fix
AffiliateModelconstruction (named arguments) (#73)
0.14.0 #
- Add Tap-to-Pay (TTP) support on Android and iOS
- Add
checkTapToPayAvailability()andpresentTapToPayActivation()(iOS) APIs - Add
PaymentMethodenum (cardReader,tapToPay) toSumupPaymentRequest - Add
productsfield (List<SumupProduct>) toSumupPluginCheckoutResponse(iOS + Android card reader) - Add
merchantCode,cardScheme, anderrorsfields toSumupPluginCheckoutResponse - Fix iOS: checkout error message was discarded on failed transactions
- Android: fix blank
foreignTransactionIdcausing duplicate-transaction errors
0.13.1 #
- Android: upgrade Kotlin to 2.1.0
- Upgrade dependencies
0.13.0 #
- iOS: upgrade native SDK
- Add cardType checkout parameter and isCardTypeRequired getter (iOS only)
- Upgrade dependencies
0.12.1 #
- Android: fix missing proguard rules
0.12.0 #
- iOS: add support for Swift Package Manager
- Upgrade dependencies
0.11.0 #
- Android: upgrade native SDK
- Upgrade dependencies
0.10.0 #
- Upgrade native SDKs
- Android: fix missing namespace (#58)
- Upgrade dependencies
0.9.0 #
- iOS: upgrade native SDK
- iOS: bump minimum OS version to 14.0
- Upgrade dependencies
0.8.1 #
- Handle
installmentsfield null
0.8.0 #
- Upgrade android SDKs
- Rename wakeUpterminal -> prepareForCheckout (thanks to @gabrielsolomon)
0.7.0 #
- Upgrade native SDKs
- Add isTipOnCardReaderAvailable getter
- Add tipOnCardReader in SumupPayment
0.6.1 #
- Android: fix checkout hang when initializing SDK multiple times
0.6.0 #
- iOS: upgrade native SDK
- Android: upgrade native SDK
- Android: compileSdkVersion and targetSdkVersion 33
- Android: code cleaning
0.5.1 #
- iOS: upgrade native SDK
0.5.0 #
- Add login with token (thanks to @davidhole)
0.4.0 #
- iOS: add wakeUpTerminal
- Add customerEmail and customerPhone to autofill text fields in transaction successfull screen (Android only)
- Make required fields non nullable in SumupPayment class
- Migrate example to null safety
- Improve documentation
0.3.1 #
- Android: targetSdkVersion 31
- Android: fix wakeUpTerminal not returning
0.3.0 #
- Add skipFailureScreen
- Fix login response
- Upgrade iOS SDK
0.2.6 #
- Improve login
- Android: Upgrade SDK and gradle
- Deprecate info field in SUmupPaymentRequest
0.2.5 #
- Fix crash when dismissing payment bottomsheet during checkout on iOS
- Fix cardLastDigits in checkout response on iOS
0.2.4 #
- Breaking change: Android minSdkVersion must be 21 or higher
- Upgraded iOS and Android native SDKs
- Improved code quality
0.2.3 #
- Fix cardType and cardLastDigits null in SumupPluginCheckoutResponse on Android
0.2.2 #
- Fix type cast in login check
0.2.1 #
- Fix request orientation landscape on Android
0.2.0 #
- Added null safety support
- Updated SumUp Sdk
0.1.0 #
- Added checks to prevent crashes from the native platforms, in particular:
- All the functions that require the native SDK to be initialized throw an exception if the SDK is not initialized
- All the functions that require login throw an exception if user is not logged in
0.0.5 #
- Fixed checkout parameters
0.0.4 #
- Fixed syntax error in android
0.0.3 #
- Fixed SumUpSDK version in podspec
0.0.2 #
- Fixed crash when transaction failed, improved documentation and code quality
0.0.1 #
- First release.