@appboxo/react-native-sdk 1.5.0 → 1.5.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/android/build.gradle
CHANGED
|
@@ -137,7 +137,7 @@ dependencies {
|
|
|
137
137
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
138
138
|
//noinspection GradleDynamicVersion
|
|
139
139
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
140
|
-
implementation('com.appboxo:sdk:1.
|
|
140
|
+
implementation('com.appboxo:sdk:1.12.1') {
|
|
141
141
|
exclude group: 'com.google.android.gms', module: 'play-services-location'
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -95,7 +95,7 @@ class RnappboxosdkModule(reactContext: ReactApplicationContext) :
|
|
|
95
95
|
urlSuffix: String?,
|
|
96
96
|
colors: ReadableMap?,
|
|
97
97
|
enableSplash: Boolean,
|
|
98
|
-
saveState:Boolean
|
|
98
|
+
saveState: Boolean
|
|
99
99
|
) {
|
|
100
100
|
handler.post {
|
|
101
101
|
val miniapp: Miniapp = Appboxo.getMiniapp(appId)
|
|
@@ -250,7 +250,9 @@ class RnappboxosdkModule(reactContext: ReactApplicationContext) :
|
|
|
250
250
|
paymentEvent.getString("currency") ?: "",
|
|
251
251
|
paymentEvent.getString("status") ?: "",
|
|
252
252
|
paymentEvent.getString("hostapp_order_id") ?: "",
|
|
253
|
-
|
|
253
|
+
paymentEvent.getMap("extra_params")
|
|
254
|
+
?.let { MapUtil.toMap(paymentEvent.getMap("extra_params")) }
|
|
255
|
+
?: mapOf()
|
|
254
256
|
)
|
|
255
257
|
handler.post { Appboxo.getExistingMiniapp(appId)?.sendPaymentResult(data) }
|
|
256
258
|
} catch (e: Exception) {
|
package/package.json
CHANGED