flutter_payment_plugin 1.0.12
flutter_payment_plugin: ^1.0.12 copied to clipboard
A Flutter plugin for Omniware Payment Gateway integration.
1.0.12 #
- Release 1.0.12: version bumped across pubspec, podspec, and Dart API.
1.0.11 #
- Added a loader spinner on the WebView payment screen until the actual payment page loads.
- Android: Full-screen overlay with "Loading payment page..." and progress indicator; hides when the gateway page has finished loading (after form POST).
- iOS: Semi-transparent overlay with activity indicator and "Loading payment page..." text; hides when the payment page has loaded, and on error or close.
- iOS loader fix: Show overlay before loading (deferred load), bring overlay to front, and only hide when the real payment page URL has loaded (normalized URL comparison to avoid hiding on initial form base URL).
1.0.10 #
- Simplified the
openPaymentAPI:actionPathandjavaScriptare no longer required from the client. Both values are now managed internally by the plugin.
1.0.9 #
- Fixed intermittent WebSocket (code 1006) errors by preventing device sleep during payment (added
KEEP_SCREEN_ON). - Suppressed noisy CSP and console logs from WebView when
devLogsis disabled.
1.0.8 #
- Enhanced WebView compatibility for both Android and iOS to resolve white screen and Content Security Policy (CSP) issues.
- Android: Enabled Universal Access and File Access from URLs, added standard mobile User-Agent, and improved zoom support.
- iOS: Enabled inline media playback, navigation gestures, and added standard mobile User-Agent.
- Normalized Base URL handling to ensure consistent origin resolution.
1.0.7 #
- Added
getPluginVersionmethod to the SDK to allow retrieving the plugin version dynamically. - Updated example app to display the dynamic SDK version.
1.0.6 #
- Fixed "white screen" issue on both Android and iOS by automatically clearing WebView cache, cookies, and local storage before every new payment transaction.
- This ensures a clean state for every session, preventing stale data from causing load failures.
1.0.5 #
- Included iOS Privacy Manifest (
PrivacyInfo.xcprivacy) in the podspec resources to comply with Apple's privacy requirements.
1.0.4 #
- Improved Android Activity lifecycle handling to prevent "WindowStopped" errors.
- Fixed WebView timers and background behavior to keep connections alive during payment.
- Added proper
configChangestoAndroidManifest.xmlto handle rotation and keyboard visibility without restarting. - Enhanced URL interception robustness for reliable payment success callbacks.
- Enabled hardware acceleration and better viewport settings for WebView.
1.0.3 #
- Added a waiting overlay on Android when a UPI app is launched.
- Improved user experience by keeping the overlay visible until the payment response is received.
- Enhanced UPI app picker to trigger the waiting screen upon app selection.
1.0.2 #
- Refactored Android payment response: now returns a single flattened JSON object with merged hash.
- Updated documentation with hash generation logic.
1.0.1 #
- Fixed
ERR_NAME_NOT_RESOLVEDerror on Android when returning from UPI apps. - Improved WebView error handling to ignore non-fatal sub-resource errors.
1.0.0 #
- Unified Android UPI intent handling to match iOS behavior.
- Added custom bottom sheet for UPI app selection on Android.
- Improved error handling for missing or failing UPI applications.
- Added fallbacks for generic UPI intents.
0.1.1 #
- Declare web platform in
pubspec.yamlfor auto-registration. - Add
repositoryandissue_trackermetadata. - Update LICENSE to MIT.
- Broaden Dart SDK constraint to
>=3.0.0 <4.0.0.
0.1.0 #
- Initial public release.
- Android/iOS support.
- Simple API:
openPayment(url, params, ...)with fixed/v2/paymentrequestendpoint. - Integration-only README, iOS URL schemes guidance, and troubleshooting.