nimbbl_mobile_kit_flutter_webview_sdk 1.1.1-alpha.4 copy "nimbbl_mobile_kit_flutter_webview_sdk: ^1.1.1-alpha.4" to clipboard
nimbbl_mobile_kit_flutter_webview_sdk: ^1.1.1-alpha.4 copied to clipboard

Nimbbl Flutter WebView SDK for payment integration

Changelog #

All notable changes to the Nimbbl Flutter WebView SDK will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.1-alpha.4 - 2025-11-26 #

Fixed #

  • Race Condition: Fixed potential race condition in redirect mode by ensuring checkout.open() is called before completing completer
  • Code Duplication: Extracted base path extraction logic into reusable _extractBasePath() helper function
  • Test File Warning: Removed non-existent getPlatformVersion() override from test file

Changed #

  • Code Quality: Improved code organization and maintainability
  • Error Handling: Enhanced error handling in web checkout flow

1.1.1 - 2025-11-26 #

Fixed #

  • GitHub Pages Support: Fixed callback URL to include base path for GitHub Pages deployment
  • Navigation: Improved _getCurrentOrigin() to correctly extract and include base path from URL pathname
  • Web Navigation: Enhanced base path detection for both GitHub Pages and local testing scenarios

Changed #

  • Stable Release: Released stable version 1.1.1 with all alpha fixes and improvements
  • Production Ready: All features tested and validated for production use
  • Android SDK: Updated to v4.0.9 (latest stable version)
  • iOS SDK: Updated to v2.0.16 (latest stable version)
  • Code Cleanup: Removed excessive comments and documentation from all SDK files
  • Constants Consolidation: Consolidated multiple constant classes into fewer logical groups (Keys, Status, Messages, SDKConstants, DefaultConfig)
  • String Literals Extraction: Extracted all string literals to constants file for better maintainability
  • Simplified Checkout Constructor: Removed optional parameters (apiHost, checkoutHost, samunnayaEndPoint) - only token is required as per documentation
  • Documentation Updates: Enhanced README with professional release announcement and improved feature descriptions

Removed #

  • Unused Methods: Removed getPlatformVersion() from all platform implementations
  • Unused Legacy Class: Removed empty NimbblMobileKitFlutterWebviewSdk legacy class
  • Unused Constants: Removed unused config keys (checkoutHost, samunnayaEndpoint) and checkout keys (apiHost, checkoutHostJs, samunnayaEndPoint)
  • Empty Example Directory: Removed empty example directory (sample app is in separate repository)

1.1.0 - 2025-01-27 #

Added #

  • Semantic Versioning: Implemented proper semantic versioning for better dependency management
  • Enhanced iOS Integration: Improved Flutter plugin configuration for iOS WebView SDK compatibility

Fixed #

  • Module Resolution: Added pod_target_xcconfig with DEFINES_MODULE = YES to Flutter plugin podspec
  • iOS Build Issues: Enhanced Flutter plugin configuration for better iOS WebView SDK integration

Changed #

  • Version Strategy: Switched to semantic versioning (MAJOR.MINOR.PATCH) for clearer release management
  • iOS SDK Dependency: Updated to use iOS WebView SDK v2.0.11 with Flutter compatibility fixes

1.0.14 - 2025-01-27 #

Added #

  • iOS WebView SDK Integration: Full integration with nimbbl_mobile_kit_ios_webview_sdk v2.0.11
  • Flutter Compatibility: Added static_framework configuration for proper iOS module resolution
  • Delegate Pattern: Implemented proper checkout flow using NimbblCheckoutSDKDelegate

Changed #

  • iOS SDK: Updated to ~> 2.0.11 (from ~> 2.0.7) with Flutter compatibility fixes
  • Checkout Flow: Fixed success page appearing before checkout webview issue
  • Plugin Architecture: Simplified plugin to focus on WebView SDK integration
  • Code Refactoring: Removed UPI-specific code and assets, streamlined for WebView-only approach

Fixed #

  • Module Import Issues: Resolved "Module not found" errors with proper podspec configuration
  • Checkout Timing: Fixed premature success page display in iOS checkout flow
  • Dependency Management: Proper handling of iOS WebView SDK dependencies

1.0.11 - 2024-12-19 #

Added #

  • App Code Support: Added app_code configuration for SDK identification
  • SDK Constants: Extracted flutter_webview_sdk string as reusable constants
  • Enhanced Documentation: Comprehensive DartDoc comments throughout the codebase
  • Production-Ready Logging: Removed debug logs for production deployment

Changed #

  • Android SDK: Updated to v4.0.9 (from v4.0.3)
  • iOS SDK: Updated to ~> 2.0.16 (from ~> 2.0.4)
  • Dependency Path: Fixed Android dependency path to match React Native SDK
  • Build Configuration: Cleaned up Android build.gradle for Flutter plugin standards

Fixed #

  • AndroidX Support: Added proper AndroidX configuration
  • Manifest Issues: Removed deprecated package attribute from AndroidManifest.xml
  • Version Consistency: Updated all version references to 1.0.11

Technical Details #

  • Android: Uses com.github.nimbbl-tech:nimbbl_mobile_kit_android_webview_sdk:v4.0.9
  • iOS: Uses nimbbl_mobile_kit_ios_webview_sdk ~> 2.0.16
  • Flutter: Compatible with Flutter 3.3.0+
  • Platforms: Android API 23+, iOS 13.0+

1.0.10 - 2024-12-18 #

Added #

  • Initial release of Nimbbl Flutter WebView SDK
  • Basic integration with native Android and iOS SDKs
  • Promise-based checkout API
  • Simple 3-line integration pattern

Features #

  • SDK initialization with configuration
  • Payment checkout flow
  • Error handling and result processing