card_flutter 1.0.24
card_flutter: ^1.0.24 copied to clipboard
Accept a payment with one or multiple payment methods securely. Powered by Tap Payments.
1.0.24 26-11-2026 #
- Add
TapCardSDK.preloadandTapCardSDK.cancelPreload: load the card form ahead of time, soTapCardViewWidgetshows it ready as soon as it is built. See "Preload the card form" in the README. - iOS: support Swift Package Manager. The plugin now ships
ios/card_flutter/Package.swift, which pulls in Card-iOS as a Swift package; CocoaPods keeps working from the same sources. See "iOS: Swift Package Manager or CocoaPods" in the README. - Add
example_spm, an example app that uses Swift Package Manager.examplenow opts out of Swift Package Manager to show the CocoaPods setup. - Update Card-iOS 1.0.8 → 1.0.10:
- Removes a duplicate IP lookup made on every card load.
- Sends the Card-iOS version to the server, instead of the app's version, when Card-iOS is
linked statically (Swift Package Manager, or CocoaPods without
use_frameworks!).
- Update Card-Android 1.0.13 → 1.0.17: the card form loads faster. The SDK no longer waits for its IP lookup before loading the page, reuses the config from the last launch, and no longer loads the page twice on the first launch after install.
- iOS: start the card SDK as soon as the card view is created, instead of 300 ms later.
- The card form now shows the
cardNumberandcardExpirypassed toTapCardViewWidget. On Android they were set on a form that was never shown; on iOS they were never passed to Card-iOS. TapCardViewWidgetstops listening to card events when it is disposed.
1.0.23 04-10-2026 #
- Update Card-iOS 1.0.6 → 1.0.8:
- Drops the SwiftyRSA dependency, whose exported Objective-C class names could clash with classes in the host app. Header encryption now uses the Security framework.
- Drops the SnapKit dependency.
- Builds on Xcode 27, which only supports iOS 15+.
- Breaking: the minimum iOS version is now 15.0 (was 13.0). Apps must set
platform :ios, '15.0'(or higher) in theirios/Podfile.
1.0.22 24-06-2026 #
- Fix Android build failure on AGP 9.x / Gradle 9.6+:
- Remove unsupported
jcenter()repositories (caused "Could not find method jcenter()"). - Stop pinning the Android Gradle Plugin in the plugin's
buildscript; AGP is now provided by the consuming app, so the plugin works with AGP 8.x and 9.x. The previously pinned AGP 8.13.2 is incompatible with Gradle 9.6+ and broke AGP 9 clients. - Use
compileSdk/minSdk(the*Versionforms are removed in AGP 9). - Set
namespaceunconditionally (required since AGP 8). - Verified against AGP 8.13.2/Gradle 8.14.3 and AGP 9.2.1/Gradle 9.6.1.
- Remove unsupported
1.0.21 23-06-2026 #
- Security: upgrade outdated Android build components flagged by security review.
- Android Gradle Plugin 7.3.0 → 8.13.2 (plugin) and example 8.7.0 → 8.13.2
- Gradle wrapper 8.4/8.9 → 8.14.3
- Bump plugin compileSdk 34 → 35
- Note: AGP 8.13.x requires Gradle 8.13+ and JDK 17+.
1.0.20 07-01-2026 #
- Added shimmer loading effect for improved UX during SDK initialization
- Update native dependence
- Fix onValidInput callback
How to Use showLoading #
To enable the shimmer loading effect, pass the showLoading parameter to TapCardViewWidget:
TapCardViewWidget(
generateToken: false,
sdkConfiguration: yourConfig,
showLoading: true, // Enable shimmer effect during SDK initialization
onReady: () {
// SDK is ready
},
// ... other callbacks
)
Features:
- Set to
false(default) to disable the loading effect
1.0.19 24-09-2025 #
- Support android 15
ProGuard Rules #
If you're using ProGuard in your Android project, add the following rules to your ProGuard configuration file:
# Card Flutter ProGuard Rules
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontwarn com.bumptech.glide.Glide
-dontwarn com.bumptech.glide.RequestBuilder
-dontwarn com.bumptech.glide.RequestManager
-dontwarn com.bumptech.glide.request.target.ViewTarget
-keep class company.tap.tapnetworkkit.** { *; }
-keep class com.tap.** { *; }
-keep class com.tap.commondatamodels.** { *; }
1.0.18 24-09-2025 #
- Support android 15
1.0.17 24-09-2025 #
- Support android 15
1.0.16 06-08-2025 #
- Fix android firebase dependency
1.0.15 02-06-2025 #
- Fix android NFC
1.0.14 05-05-2025 #
- Fix android crash issue when user move from portrait to landscape mode
1.0.13 21-APR-2025 #
- Fix android crash issue when using scanner with card reader
1.0.12 21-APR-2025 #
- Fix android Scanner Crash issue
1.0.11 1-MAR-2025 #
- Fix eventSink payload in onChangeSaveCard method to reflect correct enabled state
1.0.10 27-FEB-2025 #
- Enhance example app
- Android SDK updated
- iOS SDK updated
- Add save card option callback
1.0.9 20-FEB-2025 #
- Android SDK updated
- iOS SDK updated
- Add save card option callback
1.0.8 07-Aug-2024 #
- Android SDK updated
- Duplicated class/variables names issue fixed
1.0.7 13-June-2024 #
- Android SDK updated
- iOS SDK updated
- Merchant Id is required now
1.0.6 06-June-2024 #
- Configuration updated, enhancements done
1.0.5 25-Jan-2024 #
- Android SDK updated.
- Update to latest android card sdk version with handling of ssl
- Bug fixes
1.0.4 24-Jan-2024 #
- Android SDK updated.
- iOS SDK updated
1.0.3 #
- Android SDK updated.
1.0.2 #
- Bug fixes for Android SDK.
1.0.1 #
- iOS SDK updated.
1.0.0 #
- Initial release of card_flutter.