glomopay_sdk 1.10.0
glomopay_sdk: ^1.10.0 copied to clipboard
Official GlomoPay Flutter SDK for integrating LRS Checkout.
Changelog #
Deprecation Notice #
- Versions
1.0.3and below are deprecated, and1.0.4or later versions are available.
1.10.0 #
- package version dependency fixed
1.0.9 #
- Fix auto scroll bottom to top issue for ios.
1.0.8 #
- Removed the aggressive auto-scroll handler from iOS WebView injection to reduce conflicts with bank pages such as Kotak.
1.0.7 #
- Updated
safe_deviceto^1.4.0so the AndroidcheckTestKeys()compile issue is avoided and cross-platform builds remain stable.
1.0.6 #
- safe device error fixed.
1.0.5 #
- Pinned
safe_deviceto the fixed 1.4.x line so the AndroidcheckTestKeys()compile issue is avoided and cross-platform builds remain stable.
1.0.4 #
- iOS host presentation updated to use a modal sheet style so the rendered webview back button remains clickable in partner integrations.
1.0.3 #
- Resolved Sentry issues reported in production, including duplicate key, RenderFlex overflow, inherited widget teardown, and detached render object assertions.
- Added debug logging points to help verify payment flow and cleanup behavior in the Android test app.
1.0.2 #
- bug fix of hardcoded version
1.0.1 #
- readme file and version is updated
1.0.0 #
- Major stable release of the GlomoPay Flutter SDK.
- Versioned the package for public pub.dev publication.
- No functional API changes in this release.
0.0.16 #
- Added subscription checkout support via
subscriptionId. - Validation now requires exactly one checkout identifier:
orderIdorsubscriptionId. - Subscription checkouts reuse the existing standard checkout flow and skip order detection API calls.
- Subscription checkouts do not load the LRS education carousel or LRS-specific flow logic.
- Existing order-based integrations remain backward compatible.
0.0.15 #
- Fixed a UI issue on iOS where the software keyboard shrinks the visual viewport causing position:fixed/sticky bottom elements (e.g. "Payable Amount" / "Pay now" footer) to overlap and cover active input fields.
- Injected a visualViewport-based resize listener script in iOS WebViews that temporarily hides bottom-anchored fixed/sticky elements when the keyboard is open and restores them when it closes.
0.0.14 #
- Added support for the
payment.bank_transfer_submittedevent to handle bank transfer flows identically topayment.success. - Added specific analytics tracking for bank transfer submissions.
- Relaxed payload validation for bank transfers to only require
orderId. - Relaxed device compliance checks: The SDK now continues to work normally when Developer Mode or USB Debugging is enabled, across all environments.
- Enforced strict root and jailbreak detection across all modes (Live and Dev/Test).
0.0.13 #
- Centralized SDK console output: all
debugPrintandprintcalls are now routed through a unifiedGlomoPayLogger. - SDK-level console logs are now suppressed by default. Set
devMode: trueinGlomoPayConfigto enable verbose output for debugging. - Permanent Silence for Analytics: Analytics and Error Tracking logs are now hard-coded to be silent in the console, even when
devModeis enabled, ensuring sensitive order and key data is never leaked to the local developer console. - Updated JavaScript Bridge to respect the
devModeflag; JS console logs from the checkout page are only relayed to the Dart console ifdevModeis active.
0.0.12 #
- handled bank specific issues.
0.0.11 #
- Downgraded
webview_flutter_androidto^4.10.15andwebview_flutter_wkwebviewto^3.24.2to resolve compatibility issues.
0.0.10 #
- Added a 15-second render timeout for the initial checkout load to prevent users from being stuck on the loading screen in case of extreme network latency.
- Refined terminal error handling: unified dependency failures and render timeouts into a single
_handleTerminalErrorpath with consistent telemetry and application notification. - Added automatic cancellation of the render timeout timer upon successful load or session termination to prevent memory leaks.
0.0.9 #
- Moved the LRS Education Carousel from the main checkout page to the Bank (Flow Overlay) page, ensuring it appears strictly during the bank/3DS verification redirect.
- UI Adjustment: The Bank page's floating back button has been moved to the topmost visual layer (
Stack), keeping it consistently pinned to the top-left corner above the educational carousel.
0.0.8 #
- Added LRS Education Carousel: for LRS checkout orders, an education carousel WebView now appears above the main payment flow (20 % / 80 % split), powered by the
glomopay-utilitieshosted page. - The carousel is driven by a dedicated
GlomoCarouselJavaScript bridge channel that listens forlrs.has_education_stepspostMessage events from the carousel page. - Added
isLrsOrderandorderTypegetters toGlomoPayControllerso the UI layer can react to the resolved order type without re-deriving it. - Added
ConfigManager.getCarouselUrl()to build the carousel URL in a testable, centralised location. - Carousel WebView session data is cleared on dispose, matching the existing cleanup behaviour of the main and flow WebViews.
- Carousel state resets to
pendingon all checkout lifecycle exit paths (back button, user dismiss, payment success, payment failure) to prevent stale state in subsequent sessions. - Standard (non-LRS) orders are completely unaffected — the carousel WebView is not initialised for those sessions.
0.0.7 #
- Added a back button to the Flow Overlay (e.g., 3DS / bank redirect pages) for improved user navigation.
- Replaced obsolete
flutter_jailbreak_detectionpackage withsafe_deviceto resolve build errors and maintain device security compliance. - Upgraded
file_pickerto 11.0.2 and updated platform API usage to handle breaking changes. - Fixed an issue where the SDK could become unresponsive on the loading screen when encountering required dependency loading errors (e.g. LRS information not found). The SDK now displays an error dialog, logs the incident to Sentry, and correctly triggers
onPaymentFailure.
0.0.6 #
- Upgraded
file_pickerto 10.3.10 andpermission_handlerto 12.0.1. - Minimum Flutter SDK version bumped to 3.7.0 for dependency compatibility.
- Upgraded
sentry_flutterto 9.16.0. - Resolved pub.dev scoring issue related to outdated dependency constraints.
- Updated codebase to follow latest linting standards (super parameters, library naming).
- Added animated linear progress bar to the main checkout WebView loading overlay, replacing the static spinner with real-time load percentage feedback (
Loading... XX%/Connecting...). - Added full-screen loading splash to
FlowOverlay(3DS / bank redirect pages): shows spinner, "Opening secure page…" headline, and live percentage while the bank page initially loads. - Added slim top-of-screen progress bar in
FlowOverlayfor subsequent in-page navigations after the initial page has loaded. - Flow WebView progress now correctly resets to 0 on every new page navigation, preventing stale 100% state from hiding the loading indicator on redirects.
0.0.5 #
- Upgraded
webview_flutterto 4.13.1. - Transitioned from deprecated
onHttpErrortoonWebResourceErrorfor robust network error handling. - Improved developer experience by allowing emulators when
devModeis enabled. - Fixed UI issue where the software keyboard overlapped checkout input fields (added
Scaffoldpadding). - Fixed widget testing regressions caused by UI structure changes.
0.0.4 #
- Improved debug logging to automatically respect Flutter's
kDebugModealongside the SDK's configuration. - Added support for
location.assign()andlocation.replace()to the WebView JS bridge.
0.0.3 #
- Fixed Segment analytics events not being dispatched when
SENTRY_DSNdart-define was absent. - Baked in production Segment write key — analytics now works out-of-the-box without
--dart-defineflags. - Decoupled Segment and Sentry initialisation: each can now be enabled independently.
- Added
isSegmentConfiguredandisSentryConfiguredgetters toSdkCredentials.
0.0.2 #
- Fixed memory leaks in
GlomoPayController. - Improved analytics tracking reliability.
- Added missing platform interface test dependencies.
- Resolved all static analysis warnings.
0.0.1 #
- Initial release of GlomoPay Flutter SDK.