@gyjshow/react-native-alipay 1.0.2 → 1.0.3

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.
@@ -1,3 +1,5 @@
1
+ // Kotlin 模块实现
2
+
1
3
  package com.gyj.alipay
2
4
 
3
5
  import android.app.Activity
@@ -6,7 +8,6 @@ import android.os.Looper
6
8
  import com.alipay.sdk.app.PayTask
7
9
  import com.facebook.react.bridge.*
8
10
 
9
- // # Kotlin 模块实现
10
11
  class RNAlipayModule(
11
12
  private val reactContext: ReactApplicationContext
12
13
  ) : ReactContextBaseJavaModule(reactContext) {
@@ -1,3 +1,5 @@
1
+ // Kotlin 包实现
2
+
1
3
  package com.gyj.alipay
2
4
 
3
5
  import com.facebook.react.ReactPackage
@@ -5,7 +7,7 @@ import com.facebook.react.bridge.NativeModule
5
7
  import com.facebook.react.bridge.ReactApplicationContext
6
8
  import com.facebook.react.uimanager.ViewManager
7
9
 
8
- // # Kotlin 包实现
10
+ @Suppress("DEPRECATION")
9
11
  class RNAlipayPackage : ReactPackage {
10
12
 
11
13
  override fun createNativeModules(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gyjshow/react-native-alipay",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "description": "基于 React Native 的支付宝插件,支持 Android / iOS。",
6
6
  "main": "lib/index.js",