intram_sdk_flutter 2.1.3 copy "intram_sdk_flutter: ^2.1.3" to clipboard
intram_sdk_flutter: ^2.1.3 copied to clipboard

We are accelerating the digitalization of businesses in Africa through digital solutions to sell, receive payments, issue payments and ensure better management.

2.1.3 #

  • Replaced webview_flutter with flutter_inappwebview for WebView rendering
  • Added SSL bypass via onReceivedServerTrustAuthRequest for *.intram.org (fixes Sectigo intermediate chain validation failure on Android — net_error -202)
  • Removed unused dependencies: webview_flutter, webview_flutter_android, webview_flutter_wkwebview
  • Removed unused dead-code files (size_utils.dart, color_constant.dart)
  • Added optional inlineSdkScript parameter to IntramWebViewHtml.getHtml() to support pre-fetched SDK injection
  • Fixed unnecessary_cast lint warning in _handleData

2.1.1 #

  • Payment screen closes automatically on success — no intermediate confirmation screen required
  • Added MutationObserver to detect when the user closes the Intram widget and return a cancellation result
  • Removed post-payment success UI (success container, "Terminer" button) from the embedded HTML
  • Removed sandbox TEST badge from the WebView
  • Removed all dead code from the old native API flow (screens, controllers, API client)
  • Simplified IntramSdkPayment constructor: removed unused requiredUserInformation and customUserInformation parameters
  • WebView body now renders only the payment widget — no loading overlays or error widgets

2.1.0 #

  • Enhanced WebView integration with improved JavaScript bridge communication
  • Added comprehensive migration guides and documentation
  • Added IntramWebViewPayment widget for direct WebView payment integration
  • Improved error handling and validation for payment parameters
  • Added support for custom user information in payment flow
  • Enhanced callback URL handling
  • Better handling of payment completion and cancellation states
  • Added example app with full WebView implementation
  • Improved documentation with quick start guide and integration examples

2.0.0 #

  • Breaking: Migrated from native HTTP API to WebView + Intram JavaScript SDK
  • Added baseUrl: 'https://intram.org/' to fix sessionStorage access in WebView
  • Added two-step success flow: success page shown in WebView, user confirms with "Terminer" button
  • Added close_success message type for coordinated Flutter ↔ WebView communication
  • Added _paymentCompleted flag to prevent cancel dialog after successful payment
  • Replaced deprecated WillPopScope with PopScope
  • Result now passed through Navigator.pop(result) so makePayment() returns correct data
  • Platform-specific WebView initialization (AndroidWebViewController, WebKitWebViewController)
  • Android remote debugging enabled

1.0.1 #

  • Initial release
1
likes
140
points
57
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

We are accelerating the digitalization of businesses in Africa through digital solutions to sell, receive payments, issue payments and ensure better management.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, flutter_inappwebview

More

Packages that depend on intram_sdk_flutter