@gyjshow/react-native-alipay 1.0.4 → 1.0.5
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.
|
@@ -18,7 +18,7 @@ class RNAlipayModule(
|
|
|
18
18
|
* 发起支付
|
|
19
19
|
*/
|
|
20
20
|
@ReactMethod
|
|
21
|
-
fun
|
|
21
|
+
fun alipay(orderInfo: String, promise: Promise) {
|
|
22
22
|
val activity: Activity? = reactApplicationContext.currentActivity
|
|
23
23
|
if (activity == null) {
|
|
24
24
|
promise.reject("NO_ACTIVITY", "Current activity is null")
|