kora 0.1.0
kora: ^0.1.0 copied to clipboard
The official Flutter SDK for KoraPay
0.1.0 - 2025-02-04 #
Added #
- Example app simplified to demonstrate programmatic usage only — the example now exposes a single
Start Paymentbutton that callsFlutterKora().startPayment(...)fromexample/lib/main.dart. LICENSEupdated to MIT (Copyright 2025, korapay).lib/src/models/setup.model.dartadded to represent setup payloads.
Changed #
- Guarded error-reporting and pusher reporting to run only in production builds; non-production builds log locally.
lib/flutter_kora.dartnow performs a runtime Android SDK check (requires Android API >= 24) and calls theonErrorcallback if device SDK is unsupported.pubspec.yamlupdated withdevice_info_plusto support runtime device checks.lib/src/models/res.model.dartimprovedtoString()for readable printing of payloads.
Fixed #
- Defensive parsing added to
bank_charge-related models to handle null and emptypayment_channels_detailspayloads and mixed numeric types for fees. - Prevented permanent
PaymentArgsfrom persisting across flows by deleting withGet.delete<PaymentArgs>(force: true)in the base view model reset. - Moved tooltip/overlay key/list generation to align with the constructed payment method list to avoid RangeErrors in the UI.
Removed #
- Example interactive payment form removed from the example app — the example no longer auto-triggers payments and focuses on minimal integration guidance.
Unreleased #
Added #
- Example app simplified to demonstrate programmatic usage only — the example now exposes a single
Start Paymentbutton that callsFlutterKora().startPayment(...)fromexample/lib/main.dart. LICENSEupdated to MIT (Copyright 2025, korapay).lib/src/models/setup.model.dartadded to represent setup payloads.
Changed #
- Guarded error-reporting and pusher reporting to run only in production builds; non-production builds log locally.
lib/flutter_kora.dartnow performs a runtime Android SDK check (requires Android API >= 24) and calls theonErrorcallback if device SDK is unsupported.pubspec.yamlupdated withdevice_info_plusto support runtime device checks.lib/src/models/res.model.dartimprovedtoString()for readable printing of payloads.
Fixed #
- Defensive parsing added to
bank_charge-related models to handle null and emptypayment_channels_detailspayloads and mixed numeric types for fees. - Prevented permanent
PaymentArgsfrom persisting across flows by deleting withGet.delete<PaymentArgs>(force: true)in the base view model reset. - Moved tooltip/overlay key/list generation to align with the constructed payment method list to avoid RangeErrors in the UI.
Removed #
- Example interactive payment form removed from the example app — the example no longer auto-triggers payments and focuses on minimal integration guidance.