glomopay_sdk 1.10.0 copy "glomopay_sdk: ^1.10.0" to clipboard
glomopay_sdk: ^1.10.0 copied to clipboard

Official GlomoPay Flutter SDK for integrating LRS Checkout.

Changelog #

Deprecation Notice #

  • Versions 1.0.3 and below are deprecated, and 1.0.4 or 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_device to ^1.4.0 so the Android checkTestKeys() compile issue is avoided and cross-platform builds remain stable.

1.0.6 #

  • safe device error fixed.

1.0.5 #

  • Pinned safe_device to the fixed 1.4.x line so the Android checkTestKeys() 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: orderId or subscriptionId.
  • 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_submitted event to handle bank transfer flows identically to payment.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 debugPrint and print calls are now routed through a unified GlomoPayLogger.
  • SDK-level console logs are now suppressed by default. Set devMode: true in GlomoPayConfig to 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 devMode is enabled, ensuring sensitive order and key data is never leaked to the local developer console.
  • Updated JavaScript Bridge to respect the devMode flag; JS console logs from the checkout page are only relayed to the Dart console if devMode is active.

0.0.12 #

  • handled bank specific issues.

0.0.11 #

  • Downgraded webview_flutter_android to ^4.10.15 and webview_flutter_wkwebview to ^3.24.2 to 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 _handleTerminalError path 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-utilities hosted page.
  • The carousel is driven by a dedicated GlomoCarousel JavaScript bridge channel that listens for lrs.has_education_steps postMessage events from the carousel page.
  • Added isLrsOrder and orderType getters to GlomoPayController so 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 pending on 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_detection package with safe_device to resolve build errors and maintain device security compliance.
  • Upgraded file_picker to 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_picker to 10.3.10 and permission_handler to 12.0.1.
  • Minimum Flutter SDK version bumped to 3.7.0 for dependency compatibility.
  • Upgraded sentry_flutter to 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 FlowOverlay for 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_flutter to 4.13.1.
  • Transitioned from deprecated onHttpError to onWebResourceError for robust network error handling.
  • Improved developer experience by allowing emulators when devMode is enabled.
  • Fixed UI issue where the software keyboard overlapped checkout input fields (added Scaffold padding).
  • Fixed widget testing regressions caused by UI structure changes.

0.0.4 #

  • Improved debug logging to automatically respect Flutter's kDebugMode alongside the SDK's configuration.
  • Added support for location.assign() and location.replace() to the WebView JS bridge.

0.0.3 #

  • Fixed Segment analytics events not being dispatched when SENTRY_DSN dart-define was absent.
  • Baked in production Segment write key — analytics now works out-of-the-box without --dart-define flags.
  • Decoupled Segment and Sentry initialisation: each can now be enabled independently.
  • Added isSegmentConfigured and isSentryConfigured getters to SdkCredentials.

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.