@react-native-hero/alipay 0.0.5 → 0.0.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.
Files changed (159) hide show
  1. package/android/build/.transforms/540d2733fa01935409edd526093bc262/transformed/out/jars/classes.jar +0 -0
  2. package/android/build/.transforms/9cfebd02b3693821dad436245b160c59/results.bin +1 -0
  3. package/android/build/.transforms/9cfebd02b3693821dad436245b160c59/transformed/debug/com/github/reactnativehero/alipay/BuildConfig.dex +0 -0
  4. package/android/build/.transforms/9cfebd02b3693821dad436245b160c59/transformed/debug/com/github/reactnativehero/alipay/RNTAlipayModule.dex +0 -0
  5. package/android/build/.transforms/9cfebd02b3693821dad436245b160c59/transformed/debug/com/github/reactnativehero/alipay/RNTAlipayPackage.dex +0 -0
  6. package/android/build/.transforms/9cfebd02b3693821dad436245b160c59/transformed/desugar_graph.bin +0 -0
  7. package/android/build/.transforms/ca88b22ddac5e3fae7123b844467ee47/results.bin +1 -0
  8. package/android/build/generated/source/buildConfig/debug/com/github/reactnativehero/alipay/BuildConfig.java +10 -0
  9. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +13 -0
  10. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +18 -0
  11. package/android/build/intermediates/aar_main_jar/release/classes.jar +0 -0
  12. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +4 -0
  13. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
  14. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  15. package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
  16. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  17. package/android/build/intermediates/compile_symbol_list/debug/R.txt +1953 -0
  18. package/android/build/intermediates/full_jar/release/full.jar +0 -0
  19. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  20. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  21. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  22. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  23. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  24. package/android/build/intermediates/incremental/release/packageReleaseResources/compile-file-map.properties +1 -1
  25. package/android/build/intermediates/javac/debug/classes/com/github/reactnativehero/alipay/BuildConfig.class +0 -0
  26. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  27. package/android/build/intermediates/local_aar_for_lint/release/out.aar +0 -0
  28. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
  29. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +21 -0
  30. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +13 -0
  31. package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
  32. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +18 -0
  33. package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/react-native-hero_alipay_debug.kotlin_module +0 -0
  34. package/android/build/intermediates/runtime_library_classes_dir/debug/com/github/reactnativehero/alipay/BuildConfig.class +0 -0
  35. package/android/build/intermediates/runtime_library_classes_dir/debug/com/github/reactnativehero/alipay/RNTAlipayModule.class +0 -0
  36. package/android/build/intermediates/runtime_library_classes_dir/debug/com/github/reactnativehero/alipay/RNTAlipayPackage.class +0 -0
  37. package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
  38. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +1446 -0
  39. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  48. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  49. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  50. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  54. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  55. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  56. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  57. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  58. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  59. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  119. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  120. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  121. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  122. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  123. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  124. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  125. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  126. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  127. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  128. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  129. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  130. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  131. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  132. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  133. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  134. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  135. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/counters.tab +1 -1
  136. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  137. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  138. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  139. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  140. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  141. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  142. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  143. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  144. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  145. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  146. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  147. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  148. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  149. package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  150. package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
  151. package/android/build/kotlin/compileReleaseKotlin/local-state/build-history.bin +0 -0
  152. package/android/build/outputs/logs/manifest-merger-debug-report.txt +37 -0
  153. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  154. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-hero_alipay_debug.kotlin_module +0 -0
  155. package/android/build/tmp/kotlin-classes/debug/com/github/reactnativehero/alipay/RNTAlipayModule.class +0 -0
  156. package/android/build/tmp/kotlin-classes/debug/com/github/reactnativehero/alipay/RNTAlipayPackage.class +0 -0
  157. package/android/build/tmp/kotlin-classes/release/com/github/reactnativehero/alipay/RNTAlipayModule.class +0 -0
  158. package/ios/RNTAlipay/RNTAlipay.m +27 -22
  159. package/package.json +1 -1
@@ -0,0 +1,37 @@
1
+ -- Merging decision tree log ---
2
+ manifest
3
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:1:1-8:12
4
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:1:1-8:12
5
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:1:1-8:12
6
+ package
7
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:2:11-54
8
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
9
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
10
+ xmlns:android
11
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:1:11-69
12
+ uses-permission#android.permission.INTERNET
13
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:4:5-67
14
+ android:name
15
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:4:22-64
16
+ uses-permission#android.permission.ACCESS_WIFI_STATE
17
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:5:5-75
18
+ android:name
19
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:5:22-73
20
+ uses-permission#android.permission.ACCESS_NETWORK_STATE
21
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:6:5-78
22
+ android:name
23
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml:6:22-76
24
+ uses-sdk
25
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
26
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
27
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
28
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
29
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
30
+ android:targetSdkVersion
31
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
32
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
33
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
34
+ android:minSdkVersion
35
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
36
+ ADDED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
37
+ INJECTED from /Users/musicode/workspace/fe-team/finstao-app/node_modules/@react-native-hero/alipay/android/src/main/AndroidManifest.xml
@@ -7,7 +7,12 @@
7
7
 
8
8
  + (BOOL)handleOpenURL:(UIApplication *)application openURL:(NSURL *)url
9
9
  options:(NSDictionary<NSString*, id> *)options {
10
- return [url.host isEqualToString:@"safepay"];
10
+ if ([url.host isEqualToString:@"safepay"]) {
11
+ [[AlipaySDK defaultService] processOrderWithPaymentResult:url standbyCallback:nil];
12
+ [[AlipaySDK defaultService] processAuth_V2Result:url standbyCallback:nil];
13
+ return YES;
14
+ }
15
+ return NO;
11
16
  }
12
17
 
13
18
  + (BOOL)requiresMainQueueSetup {
@@ -15,7 +20,7 @@ options:(NSDictionary<NSString*, id> *)options {
15
20
  }
16
21
 
17
22
  - (dispatch_queue_t)methodQueue {
18
- return dispatch_queue_create("com.github.reactnativehero.alipay", DISPATCH_QUEUE_SERIAL);
23
+ return dispatch_get_main_queue();
19
24
  }
20
25
 
21
26
  RCT_EXPORT_MODULE(RNTAlipay);
@@ -26,25 +31,25 @@ RCT_EXPORT_METHOD(auth:(NSDictionary*)options
26
31
 
27
32
  NSString *authInfo = [RCTConvert NSString:options[@"authString"]];
28
33
  NSString *appScheme = [RCTConvert NSString:options[@"appScheme"]];
29
-
34
+
30
35
  [[AlipaySDK defaultService] auth_V2WithInfo:authInfo fromScheme:appScheme callback:^(NSDictionary *resultDic) {
31
-
32
- NSMutableDictionary *response = [[NSMutableDictionary alloc] init];
33
-
34
- NSString *resultStatus = resultDic[@"resultStatus"] ?: @"1";
35
-
36
- if ([resultStatus isEqualToString:@("9000")]) {
37
- response[@"code"] = 0;
38
- response[@"msg"] = @("success");
39
- response[@"data"] = resultDic[@"result"] ?: @"";
40
- }
41
- else {
42
- response[@"code"] = @([resultStatus intValue]);
43
- response[@"msg"] = resultDic[@"memo"] ?: @"";
44
- }
45
-
46
- resolve(response);
47
-
36
+
37
+ NSMutableDictionary *response = [[NSMutableDictionary alloc] init];
38
+
39
+ NSString *resultStatus = resultDic[@"resultStatus"] ?: @"1";
40
+
41
+ if ([resultStatus isEqualToString:@("9000")]) {
42
+ response[@"code"] = @(0);
43
+ response[@"msg"] = @("success");
44
+ response[@"data"] = resultDic[@"result"] ?: @"";
45
+ }
46
+ else {
47
+ response[@"code"] = @([resultStatus intValue]);
48
+ response[@"msg"] = resultDic[@"memo"] ?: @"";
49
+ }
50
+
51
+ resolve(response);
52
+
48
53
  }];
49
54
 
50
55
  }
@@ -55,7 +60,7 @@ RCT_EXPORT_METHOD(pay:(NSDictionary*)options
55
60
 
56
61
  NSString *orderInfo = [RCTConvert NSString:options[@"orderString"]];
57
62
  NSString *appScheme = [RCTConvert NSString:options[@"appScheme"]];
58
-
63
+
59
64
  [[AlipaySDK defaultService] payOrder:orderInfo fromScheme:appScheme callback:^(NSDictionary *resultDic) {
60
65
 
61
66
  NSMutableDictionary *response = [[NSMutableDictionary alloc] init];
@@ -63,7 +68,7 @@ RCT_EXPORT_METHOD(pay:(NSDictionary*)options
63
68
  NSString *resultStatus = resultDic[@"resultStatus"] ?: @"1";
64
69
 
65
70
  if ([resultStatus isEqualToString:@("9000")]) {
66
- response[@"code"] = 0;
71
+ response[@"code"] = @(0);
67
72
  response[@"msg"] = @("success");
68
73
  response[@"data"] = resultDic[@"result"] ?: @"";
69
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-hero/alipay",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "react native alipay",
5
5
  "main": "index.js",
6
6
  "scripts": {