shs_cardscan 1.0.0
shs_cardscan: ^1.0.0 copied to clipboard
Flutter plugin for on-device payment card scanning on Android and iOS.
1.0.0 #
- BREAKING: Renamed Android package from
uz.shs.cardscantouz.shs.shs_cardscan. App developers consuming the plugin do not need changes; downstream Android code referencing the package must update imports. - BREAKING: Renamed Flutter
MethodChannelfromcardscantoshs_cardscan. Affects only direct channel consumers; users of the public Dart API are unaffected. - Feat: Added iOS Swift Package Manager (SPM) support alongside CocoaPods. New
ios/shs_cardscan/Package.swiftwith a dedicatedCardScanObjCtarget for the Objective-C model wrapper to satisfy SPM's mixed-language restriction. - Feat: Added
defaultLocalization: "en"andBundle.moduleresource loading for SPM-based consumers. - Chore: Bumped minimum Flutter to
3.44.0and Dart SDK to3.12.0. - Chore: Pinned Android Kotlin Gradle Plugin to
2.2.20to match prebuilt vendored libraries; migration to Flutter's built-in Kotlin is deferred until Flutter ships a bundled KGP compatible with Kotlin 2.2 metadata. - Chore: Added
flutter.android.skipBuildDependencyValidation=trueto the examplegradle.propertiesto suppress the Kotlin-version validation warning while the bundled KGP catches up.
0.0.4 #
- Fix: Removed vendored TensorFlow Lite
x86andx86_64JNI slices from the Android package to avoid Google Play 16 KB page size warnings caused by the legacy desktop/emulator prebuilt. - Docs: Clarified that Android emulator testing should use an ARM image or a physical device because the scanner runtime now ships only
armeabi-v7aandarm64-v8a.
0.0.3 #
- Fix: Resolved Android release build issues caused by missing
Parcelizeruntime classes. - Fix: Added a release-only
integration_testAndroid stub so release APK/AAB builds complete reliably. - Fix: Limited Android release builds to
armeabi-v7aandarm64-v8ato avoid shipping non-compliant desktop/emulator native slices to Google Play. - Docs: Updated installation version and Android release notes.
0.0.2 #
- Fix: Resolved crash on iOS due to module mismatch in storyboard.
- Fix: Adjusted 'Back' button position to respect Safe Area on iOS.
- Internal: Corrected bundle identifier in
CSBundle.swiftfor proper resource loading.
0.0.1 #
- Add native card scanning support for Android and iOS.
- Add
isSupported()andscanCard()Flutter API. - Add on-device card number and expiry extraction support.
- Remove API key requirement from the Android flow.
- Bundle native platform implementations inside the Flutter package.