pax_sdk 1.0.4 copy "pax_sdk: ^1.0.4" to clipboard
pax_sdk: ^1.0.4 copied to clipboard

PlatformAndroid

A Flutter plugin for PAX payment terminals providing NFC card reading and thermal printer functionality.

Changelog #

1.0.4 2025-01-XX #

Fixed #

  • Android Build Compatibility: Resolved Flutter SDK path dependency issues
    • Removed hardcoded Flutter SDK paths that caused build failures
    • Added Flutter Gradle plugin for proper dependency management
    • Updated Android configuration to use modern Flutter plugin architecture
    • Fixed settings.gradle configuration for library plugins
    • Cleaned up gradle.properties to remove hardcoded paths

Technical #

  • Updated android/build.gradle to use Flutter Gradle plugin
  • Fixed android/settings.gradle for proper library plugin configuration
  • Removed manual Flutter embedding dependencies (now handled automatically)
  • Enhanced package portability across different Flutter installations
  • Improved compatibility with latest Flutter versions

Breaking Changes #

  • None

Migration #

  • No migration required - this is a bug fix release

1.0.3 - 2025-07-30 #

Fixed #

  • Android Compilation Issues: Resolved all Java compilation errors in the Android plugin
    • Fixed missing Flutter SDK dependencies in Android build configuration
    • Added proper Flutter embedding dependencies from local Flutter installation
    • Resolved @NonNull annotation import issues
    • Fixed Java version compatibility (upgraded to Java 17)
  • Build System: Updated Android Gradle configuration for proper plugin compilation
    • Added Flutter SDK path configuration in gradle.properties
    • Configured Java 17 for Android Gradle plugin compatibility
    • Added AndroidX annotation dependencies
    • Suppressed compileSdk warnings for better build experience

Technical #

  • Updated android/build.gradle with proper Flutter SDK dependencies
  • Updated android/gradle.properties with Java 17 and Flutter SDK paths
  • Enhanced build configuration for better compatibility with modern Flutter versions
  • Improved plugin registration and method channel handling

Testing #

  • ✅ Android library builds successfully without compilation errors
  • ✅ Example app builds and runs successfully on PAX A920 Pro device
  • ✅ Flutter plugin classes properly resolved and accessible
  • ✅ All method channels and plugin interfaces working correctly

1.0.2 2024-01-XX #

Added #

  • JAR Files: PAX SDK JAR files are now properly included in the package distribution
    • neptune-lite-api-v3.26.00-20210903.jar (604KB) - Main PAX Neptune Lite API
    • sdk.jar (102KB) - PAX SDK core library
  • Package Distribution: JAR files are now tracked in version control and included in package releases
  • Improved Installation: Users can now install the package with all required PAX SDK dependencies

Technical #

  • Removed JAR files from .gitignore to ensure they are included in package distribution
  • Updated package structure to include essential PAX SDK libraries
  • Enhanced package validation and distribution process

1.0.1 2024-01-XX #

Added #

  • Support for PAX A920 Pro and PAX A960 devices
  • Improved error handling for device compatibility
  • Enhanced documentation with tested devices list

1.0.0 2024-01-XX #

Added #

  • Initial release of PAX SDK Flutter plugin
  • NFC card reading functionality
  • Thermal printer support with text and image printing
  • Advanced printer controls (font size, alignment, spacing, etc.)
  • Release build support
  • Comprehensive error handling and debugging tools
  • ProGuard rules for release builds
  • PAX-specific permissions handling

Features #

  • PaxSdk.checkCardPresence() - Check if NFC card is present
  • PaxSdk.detectCard() - Detect and read card information
  • PaxSdk.initializePrinter() - Initialize printer
  • PaxSdk.printText() - Print text with formatting options
  • PaxSdk.printImage() - Print images
  • PaxSdk.getPrinterStatus() - Get printer status
  • PaxSdk.cutPaper() - Cut paper
  • PaxSdk.feedPaper() - Feed paper
  • Advanced printer controls (font size, double height/width, spacing, etc.)

Technical Details #

  • Supports Android API level 21+
  • Includes PAX SDK native libraries
  • Proper plugin registration with Flutter
  • Optimized for PAX payment terminals
0
likes
140
points
68
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for PAX payment terminals providing NFC card reading and thermal printer functionality.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on pax_sdk

Packages that implement pax_sdk