nimbbl-mobile-react-native-sdk 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Nimbbl React Native SDK
2
2
 
3
- **🎉 First Release - Production Ready!**
3
+ **✅ Stable Release v1.3.2 - Production Ready!**
4
4
 
5
5
  A comprehensive React Native SDK for integrating Nimbbl payment gateway into your mobile applications. This SDK provides a seamless bridge between React Native and native payment functionality, offering a unified API for both iOS and Android platforms.
6
6
 
@@ -14,7 +14,7 @@ A comprehensive React Native SDK for integrating Nimbbl payment gateway into you
14
14
  - 🛡️ **Type Safety** - Comprehensive TypeScript definitions for better development experience
15
15
  - 📊 **Production Ready** - Built-in analytics, logging, and error handling
16
16
  - 🔄 **Unified Event Handling** - Single callback system for all payment responses
17
- - 🎯 **Latest Native SDKs** - Built on iOS 2.0.7 and Android 4.0.4
17
+ - 🎯 **Latest Native SDKs** - Built on iOS 2.0.16 and Android 4.0.9
18
18
 
19
19
  ## 🚀 Quick Start
20
20
 
@@ -98,10 +98,10 @@ await nimbblSDK.checkout({
98
98
 
99
99
  ## 🎯 Why Choose Nimbbl React Native SDK?
100
100
 
101
- - ✅ **First Release**: Built from the ground up with modern React Native best practices
101
+ - ✅ **Stable Release**: Production-ready SDK with comprehensive testing and bug fixes
102
102
  - ✅ **Production Ready**: Thoroughly tested and optimized for production environments
103
103
  - ✅ **Cross-Platform Consistency**: Identical behavior on iOS and Android
104
- - ✅ **Latest Native SDKs**: Built on the most recent iOS (2.0.7) and Android (4.0.4) SDKs
104
+ - ✅ **Latest Native SDKs**: Built on the most recent iOS (2.0.16) and Android (4.0.9) SDKs
105
105
  - ✅ **TypeScript First**: Full TypeScript support with comprehensive type definitions
106
106
  - ✅ **Simple Integration**: Get started in minutes with our straightforward API
107
107
 
@@ -323,7 +323,7 @@ class PaymentManager {
323
323
  **Problem**: WebView opens and closes, but payment status screen doesn't appear.
324
324
 
325
325
  **Solution**:
326
- - Ensure you're using the latest SDK version (`^1.0.0`)
326
+ - Ensure you're using the latest SDK version (`^1.3.2`)
327
327
  - The SDK automatically manages event listeners - no manual setup required
328
328
  - Check that your app properly handles the payment success/failure events
329
329
 
@@ -424,19 +424,20 @@ npm install nimbbl-mobile-react-native-sdk@1.0.0-alpha.3
424
424
  **✅ Stable version is now available!**
425
425
 
426
426
  ```bash
427
- # Upgrade from alpha to stable
428
- npm install nimbbl-mobile-react-native-sdk@^1.0.0
427
+ # Upgrade to latest stable version
428
+ npm install nimbbl-mobile-react-native-sdk@^1.3.2
429
429
 
430
430
  # Update your package.json
431
431
  # Change from: "nimbbl-mobile-react-native-sdk": "^1.0.0-alpha.12"
432
- # To: "nimbbl-mobile-react-native-sdk": "^1.0.0"
432
+ # To: "nimbbl-mobile-react-native-sdk": "^1.3.2"
433
433
  ```
434
434
 
435
- **Key Changes in v1.0.0:**
436
- - ✅ **Automatic Event Listener Management**: SDK now automatically manages event listeners for optimal performance
435
+ **Key Changes in Stable Versions:**
436
+ - ✅ **Automatic Event Listener Management**: SDK automatically manages event listeners for optimal performance
437
437
  - ✅ **Simplified Integration**: No need to manually add/remove event listeners
438
438
  - ✅ **Enhanced Error Handling**: Improved error messages and debugging capabilities
439
439
  - ✅ **Production Ready**: Fully tested and optimized for production use
440
+ - ✅ **Updated Native SDKs**: Latest iOS (2.0.16) and Android (4.0.9) SDK integrations
440
441
 
441
442
  ### Breaking Changes Migration
442
443
 
@@ -453,7 +454,7 @@ For production applications, consider locking to specific versions:
453
454
  ```json
454
455
  {
455
456
  "dependencies": {
456
- "nimbbl-mobile-react-native-sdk": "1.1.1"
457
+ "nimbbl-mobile-react-native-sdk": "1.3.2"
457
458
  }
458
459
  }
459
460
  ```
@@ -466,7 +467,37 @@ For production applications, consider locking to specific versions:
466
467
 
467
468
  ## 📝 Release Notes
468
469
 
469
- ### v1.3.0 - First Release 🎉
470
+ ### v1.3.2 - Stable Release
471
+
472
+ **🚀 Stable Production-Ready React Native SDK for Nimbbl Payments**
473
+
474
+ #### 🔧 Updates & Fixes
475
+ - **Updated iOS Native SDK**: Upgraded to iOS SDK v2.0.16 for improved stability and features
476
+ - **Updated Android Native SDK**: Upgraded to Android SDK v4.0.9 for enhanced performance
477
+ - **Podspec Improvements**: Updated podspec configuration for better CocoaPods integration
478
+ - **Test Fixes**: Fixed test expectations to match actual SDK behavior
479
+ - **Code Quality**: Improved code formatting and linting compliance
480
+
481
+ #### ✨ Features
482
+ - **Unified API**: Single API for both iOS and Android platforms
483
+ - **Latest Native SDKs**: Built on iOS 2.0.16 and Android 4.0.9
484
+ - **TypeScript Support**: Full TypeScript definitions for better development experience
485
+ - **Cross-Platform Consistency**: Identical behavior on iOS and Android
486
+ - **Production Ready**: Optimized for production environments with comprehensive error handling
487
+
488
+ #### 🛠️ Technical Highlights
489
+ - **Modern Architecture**: Built with React Native best practices
490
+ - **Native Bridge**: Seamless communication between React Native and native SDKs
491
+ - **Performance Optimized**: Efficient memory management and callback handling
492
+ - **Clean Codebase**: Production-ready code with no debug artifacts
493
+ - **Comprehensive Testing**: Full test coverage with 20+ test cases (all passing)
494
+
495
+ #### 📱 Platform Support
496
+ - **iOS**: iOS 13.0+ with Swift implementation
497
+ - **Android**: API Level 21+ (Android 5.0) with Kotlin implementation
498
+ - **React Native**: 0.70.0+ support with 0.76.0 recommended
499
+
500
+ ### v1.3.0 - Initial Stable Release 🎉
470
501
 
471
502
  **🚀 Production-Ready React Native SDK for Nimbbl Payments**
472
503
 
@@ -491,14 +522,9 @@ For production applications, consider locking to specific versions:
491
522
  - **Clean Codebase**: Production-ready code with no debug artifacts
492
523
  - **Comprehensive Testing**: Full test coverage with 20+ test cases
493
524
 
494
- #### 📱 Platform Support
495
- - **iOS**: iOS 13.0+ with Swift implementation
496
- - **Android**: API Level 21+ (Android 5.0) with Kotlin implementation
497
- - **React Native**: 0.70.0+ support with 0.76.0 recommended
498
-
499
525
  ## 🎯 What's Next?
500
526
 
501
- This is the first release of the Nimbbl React Native SDK. Future releases will include:
527
+ Future releases will include:
502
528
 
503
529
  - 🔄 **Enhanced Features**: Additional payment methods and customization options
504
530
  - 🚀 **Performance Improvements**: Optimizations based on real-world usage
@@ -24,7 +24,7 @@ allprojects {
24
24
  }
25
25
 
26
26
  group = 'com.nimbbl.reactnative'
27
- version = '1.3.1'
27
+ version = '1.3.2'
28
28
 
29
29
  android {
30
30
  namespace 'com.nimbbl.reactnative'
@@ -35,7 +35,7 @@ android {
35
35
  minSdkVersion 24
36
36
  targetSdkVersion 36
37
37
  versionCode 1
38
- versionName "1.3.1"
38
+ versionName "1.3.2"
39
39
  }
40
40
 
41
41
  buildTypes {
@@ -65,7 +65,7 @@ dependencies {
65
65
  implementation 'androidx.appcompat:appcompat:1.6.1'
66
66
 
67
67
  // Nimbbl WebView SDK dependency (includes all necessary dependencies)
68
- implementation 'com.github.nimbbl-tech:nimbbl_mobile_kit_android_webview_sdk:v4.0.4'
68
+ implementation 'com.github.nimbbl-tech:nimbbl_mobile_kit_android_webview_sdk:v4.0.9'
69
69
 
70
70
  // Add Retrofit and Coroutines dependencies for Android SDK
71
71
  implementation 'com.squareup.retrofit2:retrofit:2.9.0'
@@ -79,7 +79,7 @@ afterEvaluate {
79
79
  from components.release
80
80
  groupId = 'com.nimbbl.reactnative'
81
81
  artifactId = 'nimbbl-react-native-sdk'
82
- version = '1.3.1'
82
+ version = '1.3.2'
83
83
  }
84
84
  }
85
85
  }
@@ -23,5 +23,5 @@ Pod::Spec.new do |s|
23
23
  s.swift_version = "5.0"
24
24
 
25
25
  # Nimbbl iOS SDK dependency
26
- s.dependency "nimbbl_mobile_kit_ios_webview_sdk", "~> 2.0.7"
26
+ s.dependency "nimbbl_mobile_kit_ios_webview_sdk", "~> 2.0.16"
27
27
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nimbbl-mobile-react-native-sdk",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Nimbbl React Native SDK for payment integration",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,38 +0,0 @@
1
- require 'json'
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
4
-
5
- Pod::Spec.new do |s|
6
- s.name = 'NimbblReactNativeSDK'
7
- s.version = package['version']
8
- s.summary = package['description']
9
- s.homepage = package['homepage']
10
- s.license = package['license']
11
- s.author = package['author']
12
- s.platform = :ios, "13.0"
13
- s.source = { :git => "https://github.com/nimbbl-tech/nimbbl_mobile_kit_react_native_sdk.git", :tag => "#{s.version}" }
14
- s.source_files = "*.{h,m,swift}"
15
- s.swift_version = '5.0'
16
- s.requires_arc = true
17
-
18
- s.dependency "React-Core"
19
-
20
- # Nimbbl WebView SDK dependency (includes all necessary dependencies)
21
- s.dependency "nimbbl_mobile_kit_ios_webview_sdk", "~> 2.0.4"
22
-
23
- # Don't install the dependencies when we run `pod install` in the old architecture.
24
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
25
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
26
- s.pod_target_xcconfig = {
27
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
28
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
29
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
30
- }
31
- s.dependency "React-RCTFabric"
32
- s.dependency "React-Codegen"
33
- s.dependency "RCT-Folly"
34
- s.dependency "RCTRequired"
35
- s.dependency "RCTTypeSafety"
36
- s.dependency "ReactCommon/turbomodule/core"
37
- end
38
- end