intram_sdk_flutter 2.1.3
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_flutterwithflutter_inappwebviewfor WebView rendering - Added SSL bypass via
onReceivedServerTrustAuthRequestfor*.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
inlineSdkScriptparameter toIntramWebViewHtml.getHtml()to support pre-fetched SDK injection - Fixed
unnecessary_castlint warning in_handleData
2.1.1 #
- Payment screen closes automatically on success — no intermediate confirmation screen required
- Added
MutationObserverto 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
IntramSdkPaymentconstructor: removed unusedrequiredUserInformationandcustomUserInformationparameters - 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
IntramWebViewPaymentwidget 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_successmessage type for coordinated Flutter ↔ WebView communication - Added
_paymentCompletedflag to prevent cancel dialog after successful payment - Replaced deprecated
WillPopScopewithPopScope - Result now passed through
Navigator.pop(result)somakePayment()returns correct data - Platform-specific WebView initialization (
AndroidWebViewController,WebKitWebViewController) - Android remote debugging enabled
1.0.1 #
- Initial release