nimbbl-mobile-react-native-sdk 1.3.5-alpha.0 → 1.3.6
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
|
-
**✅ Stable Release v1.3.
|
|
3
|
+
**✅ Stable Release v1.3.6 - 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
|
|
|
@@ -317,7 +317,7 @@ class PaymentManager {
|
|
|
317
317
|
**Problem**: WebView opens and closes, but payment status screen doesn't appear.
|
|
318
318
|
|
|
319
319
|
**Solution**:
|
|
320
|
-
- Ensure you're using the latest SDK version (`^1.3.
|
|
320
|
+
- Ensure you're using the latest SDK version (`^1.3.6`)
|
|
321
321
|
- The SDK automatically manages event listeners - no manual setup required
|
|
322
322
|
- Check that your app properly handles the payment success/failure events
|
|
323
323
|
|
|
@@ -428,14 +428,14 @@ For production applications, consider locking to specific versions:
|
|
|
428
428
|
```json
|
|
429
429
|
{
|
|
430
430
|
"dependencies": {
|
|
431
|
-
"nimbbl-mobile-react-native-sdk": "1.3.
|
|
431
|
+
"nimbbl-mobile-react-native-sdk": "1.3.6"
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
```
|
|
435
435
|
|
|
436
436
|
## 📝 Release Notes
|
|
437
437
|
|
|
438
|
-
### v1.3.
|
|
438
|
+
### v1.3.6 - Stable Release ✅
|
|
439
439
|
|
|
440
440
|
**🚀 Stable Production-Ready React Native SDK for Nimbbl Payments**
|
|
441
441
|
|
package/android/build.gradle
CHANGED
|
@@ -24,7 +24,7 @@ allprojects {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
group = 'com.nimbbl.reactnative'
|
|
27
|
-
version = '1.3.
|
|
27
|
+
version = '1.3.6'
|
|
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.
|
|
38
|
+
versionName "1.3.6"
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
buildTypes {
|
|
@@ -61,7 +61,7 @@ android {
|
|
|
61
61
|
|
|
62
62
|
dependencies {
|
|
63
63
|
// React Native dependencies (required for bridge)
|
|
64
|
-
compileOnly 'com.facebook.react:react-
|
|
64
|
+
compileOnly 'com.facebook.react:react-android:+'
|
|
65
65
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
66
66
|
|
|
67
67
|
// Nimbbl WebView SDK dependency - aligned with Flutter WebView SDK
|
|
@@ -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.
|
|
82
|
+
version = '1.3.6'
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -306,7 +306,7 @@ class NimbblReactNativeSDKModule(private val reactContext: ReactApplicationConte
|
|
|
306
306
|
|
|
307
307
|
|
|
308
308
|
|
|
309
|
-
override fun onActivityResult(activity: Activity
|
|
309
|
+
override fun onActivityResult(activity: Activity, requestCode: Int, resultCode: Int, data: Intent?) {
|
|
310
310
|
|
|
311
311
|
// Handle NimbblCheckoutActivity results
|
|
312
312
|
if (requestCode == 1001) {
|
|
@@ -397,7 +397,7 @@ class NimbblReactNativeSDKModule(private val reactContext: ReactApplicationConte
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
|
|
400
|
-
override fun onNewIntent(intent: Intent
|
|
400
|
+
override fun onNewIntent(intent: Intent) {
|
|
401
401
|
// Handle new intents if needed
|
|
402
402
|
}
|
|
403
403
|
|