nimbbl-mobile-react-native-sdk 1.3.3 → 1.3.4-alpha.0
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 +9 -69
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nimbbl React Native SDK
|
|
2
2
|
|
|
3
|
-
**✅ Stable Release v1.3.
|
|
3
|
+
**✅ Stable Release v1.3.4-alpha.0-alpha.0 - 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.
|
|
17
|
+
- 🎯 **Latest Native SDKs** - Built on iOS 2.0.17 and Android 4.0.13
|
|
18
18
|
|
|
19
19
|
## 🚀 Quick Start
|
|
20
20
|
|
|
@@ -101,7 +101,7 @@ await nimbblSDK.checkout({
|
|
|
101
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.
|
|
104
|
+
- ✅ **Latest Native SDKs**: Built on the most recent iOS (2.0.17) and Android (4.0.13) 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.3.
|
|
326
|
+
- Ensure you're using the latest SDK version (`^1.3.4-alpha.0`)
|
|
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
|
|
|
@@ -419,26 +419,6 @@ npm install nimbbl-mobile-react-native-sdk@latest
|
|
|
419
419
|
npm install nimbbl-mobile-react-native-sdk@1.0.0-alpha.3
|
|
420
420
|
```
|
|
421
421
|
|
|
422
|
-
### Migration from Alpha to Stable
|
|
423
|
-
|
|
424
|
-
**✅ Stable version is now available!**
|
|
425
|
-
|
|
426
|
-
```bash
|
|
427
|
-
# Upgrade to latest stable version
|
|
428
|
-
npm install nimbbl-mobile-react-native-sdk@^1.3.2
|
|
429
|
-
|
|
430
|
-
# Update your package.json
|
|
431
|
-
# Change from: "nimbbl-mobile-react-native-sdk": "^1.0.0-alpha.12"
|
|
432
|
-
# To: "nimbbl-mobile-react-native-sdk": "^1.3.2"
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
**Key Changes in Stable Versions:**
|
|
436
|
-
- ✅ **Automatic Event Listener Management**: SDK automatically manages event listeners for optimal performance
|
|
437
|
-
- ✅ **Simplified Integration**: No need to manually add/remove event listeners
|
|
438
|
-
- ✅ **Enhanced Error Handling**: Improved error messages and debugging capabilities
|
|
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
|
|
441
|
-
|
|
442
422
|
### Breaking Changes Migration
|
|
443
423
|
|
|
444
424
|
For major version updates (e.g., 1.x to 2.x):
|
|
@@ -454,33 +434,27 @@ For production applications, consider locking to specific versions:
|
|
|
454
434
|
```json
|
|
455
435
|
{
|
|
456
436
|
"dependencies": {
|
|
457
|
-
"nimbbl-mobile-react-native-sdk": "1.3.
|
|
437
|
+
"nimbbl-mobile-react-native-sdk": "1.3.4-alpha.0"
|
|
458
438
|
}
|
|
459
439
|
}
|
|
460
440
|
```
|
|
461
441
|
|
|
462
|
-
### Deprecation Policy
|
|
463
|
-
|
|
464
|
-
- **Alpha versions**: Features may be deprecated without notice
|
|
465
|
-
- **Stable versions**: Deprecated features will be marked with warnings for at least one minor version
|
|
466
|
-
- **Major versions**: Breaking changes will be clearly documented
|
|
467
|
-
|
|
468
442
|
## 📝 Release Notes
|
|
469
443
|
|
|
470
|
-
### v1.3.
|
|
444
|
+
### v1.3.4-alpha.0 - Stable Release ✅
|
|
471
445
|
|
|
472
446
|
**🚀 Stable Production-Ready React Native SDK for Nimbbl Payments**
|
|
473
447
|
|
|
474
448
|
#### 🔧 Updates & Fixes
|
|
475
|
-
- **Updated iOS Native SDK**: Upgraded to iOS SDK v2.0.
|
|
476
|
-
- **Updated Android Native SDK**: Upgraded to Android SDK v4.0.
|
|
449
|
+
- **Updated iOS Native SDK**: Upgraded to iOS SDK v2.0.17 for improved stability and features
|
|
450
|
+
- **Updated Android Native SDK**: Upgraded to Android SDK v4.0.13 for enhanced performance
|
|
477
451
|
- **Podspec Improvements**: Updated podspec configuration for better CocoaPods integration
|
|
478
452
|
- **Test Fixes**: Fixed test expectations to match actual SDK behavior
|
|
479
453
|
- **Code Quality**: Improved code formatting and linting compliance
|
|
480
454
|
|
|
481
455
|
#### ✨ Features
|
|
482
456
|
- **Unified API**: Single API for both iOS and Android platforms
|
|
483
|
-
- **Latest Native SDKs**: Built on iOS 2.0.
|
|
457
|
+
- **Latest Native SDKs**: Built on iOS 2.0.17 and Android 4.0.13
|
|
484
458
|
- **TypeScript Support**: Full TypeScript definitions for better development experience
|
|
485
459
|
- **Cross-Platform Consistency**: Identical behavior on iOS and Android
|
|
486
460
|
- **Production Ready**: Optimized for production environments with comprehensive error handling
|
|
@@ -497,40 +471,6 @@ For production applications, consider locking to specific versions:
|
|
|
497
471
|
- **Android**: API Level 21+ (Android 5.0) with Kotlin implementation
|
|
498
472
|
- **React Native**: 0.70.0+ support with 0.76.0 recommended
|
|
499
473
|
|
|
500
|
-
### v1.3.0 - Initial Stable Release 🎉
|
|
501
|
-
|
|
502
|
-
**🚀 Production-Ready React Native SDK for Nimbbl Payments**
|
|
503
|
-
|
|
504
|
-
#### ✨ Features
|
|
505
|
-
- **Unified API**: Single API for both iOS and Android platforms
|
|
506
|
-
- **Latest Native SDKs**: Built on iOS 2.0.7 and Android 4.0.4
|
|
507
|
-
- **TypeScript Support**: Full TypeScript definitions for better development experience
|
|
508
|
-
- **Cross-Platform Consistency**: Identical behavior on iOS and Android
|
|
509
|
-
- **Production Ready**: Optimized for production environments with comprehensive error handling
|
|
510
|
-
|
|
511
|
-
#### 🔧 Core Functionality
|
|
512
|
-
- **Easy Integration**: Simple setup with production-ready defaults
|
|
513
|
-
- **Multiple Payment Methods**: Support for cards, UPI, netbanking, wallets, EMI, and cash
|
|
514
|
-
- **WebView Integration**: Built-in payment webview with customization options
|
|
515
|
-
- **Unified Event Handling**: Single callback system for all payment responses
|
|
516
|
-
- **Robust Error Handling**: Comprehensive error handling and fallback mechanisms
|
|
517
|
-
|
|
518
|
-
#### 🛠️ Technical Highlights
|
|
519
|
-
- **Modern Architecture**: Built with React Native best practices
|
|
520
|
-
- **Native Bridge**: Seamless communication between React Native and native SDKs
|
|
521
|
-
- **Performance Optimized**: Efficient memory management and callback handling
|
|
522
|
-
- **Clean Codebase**: Production-ready code with no debug artifacts
|
|
523
|
-
- **Comprehensive Testing**: Full test coverage with 20+ test cases
|
|
524
|
-
|
|
525
|
-
## 🎯 What's Next?
|
|
526
|
-
|
|
527
|
-
Future releases will include:
|
|
528
|
-
|
|
529
|
-
- 🔄 **Enhanced Features**: Additional payment methods and customization options
|
|
530
|
-
- 🚀 **Performance Improvements**: Optimizations based on real-world usage
|
|
531
|
-
- 🛠️ **Developer Experience**: Enhanced debugging tools and documentation
|
|
532
|
-
- 📱 **Platform Updates**: Support for new React Native versions and platform features
|
|
533
|
-
|
|
534
474
|
## 🤝 Contributing
|
|
535
475
|
|
|
536
476
|
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details.
|