kora 0.1.0 copy "kora: ^0.1.0" to clipboard
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 Payment button that calls FlutterKora().startPayment(...) from example/lib/main.dart.
  • LICENSE updated to MIT (Copyright 2025, korapay).
  • lib/src/models/setup.model.dart added 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.dart now performs a runtime Android SDK check (requires Android API >= 24) and calls the onError callback if device SDK is unsupported.
  • pubspec.yaml updated with device_info_plus to support runtime device checks.
  • lib/src/models/res.model.dart improved toString() for readable printing of payloads.

Fixed #

  • Defensive parsing added to bank_charge-related models to handle null and empty payment_channels_details payloads and mixed numeric types for fees.
  • Prevented permanent PaymentArgs from persisting across flows by deleting with Get.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 Payment button that calls FlutterKora().startPayment(...) from example/lib/main.dart.
  • LICENSE updated to MIT (Copyright 2025, korapay).
  • lib/src/models/setup.model.dart added 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.dart now performs a runtime Android SDK check (requires Android API >= 24) and calls the onError callback if device SDK is unsupported.
  • pubspec.yaml updated with device_info_plus to support runtime device checks.
  • lib/src/models/res.model.dart improved toString() for readable printing of payloads.

Fixed #

  • Defensive parsing added to bank_charge-related models to handle null and empty payment_channels_details payloads and mixed numeric types for fees.
  • Prevented permanent PaymentArgs from persisting across flows by deleting with Get.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.

0.0.1 #

0
likes
120
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

The official Flutter SDK for KoraPay

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, flutter, flutter_svg, get, intl, pusher_channels_flutter, webview_flutter

More

Packages that depend on kora