You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iOS Support & SDK Integration: Integrated the PAX POSLink Semi-Integration iOS SDK (POSLinkSemiIntegrationSDK static library and header files) enabling native POS integration on iOS devices.
Unified TurboModule Architecture: Migrated the package architecture to a unified TurboModule structure (NativePaxPoslink.ts) with modern codegen support while maintaining backward compatibility with the legacy React Native bridge.
Exposed iOS Native Methods:
initPOSLink(ip, port, timeout): Initializes TCP communication with PAX terminals, supporting customizable port and timeout configurations.
makePayment(id, amount, tip, paymentType, ecrRefNum, showTip): Supports credit/debit transaction sales with optional tips and terminal-side tip prompts.
makeCloseBatch(): Triggers batch closeouts and processes batch counts/totals.
getBatchInformation(): Retrieves history and total details of the active batch.
checkVoidOrRefundTransaction(ecrRefNum): Queries local report database to check transaction status.
cancelTransaction(): Requests terminal cancellation and cleans up the active connection object.
Response Mapping Optimization:
Unified transaction response shapes with full parsing of authorization, host information, reference numbers, entry mode translations (e.g., contactless chip, contact chip, fallback swipe), card brand labels, and tip/surcharge fees.
Build & Toolchain
NPM & Bob Config: Configured react-native-builder-bob to automatically build ESM (lib/module), CommonJS (lib/commonjs), and TypeScript type declarations (lib/typescript).
Package Scripts: Added "build": "bob build" and integrated automatic compilation into the prebuild phase for better safety and DX.